1616 */
1717class SigningTestCase extends TestCase
1818{
19- /** @var \SimpleSAML\Configuration */
20- protected $ config ;
19+ protected Configuration $ config ;
2120
22- /** @var string $root_directory */
23- protected $ root_directory ;
21+ protected string $ root_directory ;
2422
25- /** @var string $cert_directory */
26- protected $ cert_directory = 'certificates/rsa-pem ' ;
23+ protected string $ cert_directory = 'certificates/rsa-pem ' ;
2724
28- /** @var string $ca_private_key_file */
29- protected $ ca_private_key_file = 'simplesamlphp.org-ca_nopasswd.key ' ;
25+ protected string $ ca_private_key_file = 'simplesamlphp.org-ca_nopasswd.key ' ;
3026
31- /** @var string $ca_certificate_file */
32- protected $ ca_certificate_file = 'simplesamlphp.org-ca.crt ' ;
27+ protected string $ ca_certificate_file = 'simplesamlphp.org-ca.crt ' ;
3328
34- /** @var string $good_private_key_file */
35- protected $ good_private_key_file = 'signed.simplesamlphp.org_nopasswd.key ' ;
29+ protected string $ good_private_key_file = 'signed.simplesamlphp.org_nopasswd.key ' ;
3630
37- /** @var string $good_certificate_file */
38- protected $ good_certificate_file = 'signed.simplesamlphp.org.crt ' ;
31+ protected string $ good_certificate_file = 'signed.simplesamlphp.org.crt ' ;
3932
4033 // openssl genrsa -out example.org-ca.key 1024
41- /** @var string $ca_private_key */
42- protected $ ca_private_key ;
34+ protected string $ ca_private_key ;
4335
4436 // openssl req -key example.org-ca.key -new -x509 -days 36500 -out example.org-ca.crt
45- /** @var string $ca_certificate */
46- protected $ ca_certificate ;
37+ protected string $ ca_certificate ;
4738
4839 // openssl genrsa -out signed.example.org.key 1024
49- /** @var string $good_private_key */
50- protected $ good_private_key ;
40+ protected string $ good_private_key ;
5141
5242 // openssl req -key signed.example.org.key -new -out signed.example.org.crt
53- /** @var string $good_certificate */
54- protected $ good_certificate ;
43+ protected string $ good_certificate ;
5544
5645
5746 /**
@@ -69,7 +58,6 @@ public function __construct()
6958
7059
7160 /**
72- * @return array
7361 */
7462 public function getCertDirContent (): array
7563 {
@@ -83,7 +71,6 @@ public function getCertDirContent(): array
8371
8472
8573 /**
86- * @return void
8774 */
8875 public function setUp (): void
8976 {
@@ -94,7 +81,6 @@ public function setUp(): void
9481
9582
9683 /**
97- * @return void
9884 */
9985 public function tearDown (): void
10086 {
@@ -106,7 +92,6 @@ public function tearDown(): void
10692 * @param \SimpleSAML\Configuration $service
10793 * @param class-string $className
10894 * @param mixed|null $value
109- * @return void
11095 */
11196 protected function clearInstance (Configuration $ service , string $ className , $ value = null ): void
11297 {
0 commit comments