@@ -164,6 +164,9 @@ |
||
164 | 164 | $this->assertInstanceOf(\LightSaml\Store\EntityDescriptor\EntityDescriptorStoreInterface::class, $buildContainer->getPartyContainer()->getSpEntityDescriptorStore()); |
165 | 165 | } |
166 | 166 | |
167 | + /** |
|
168 | + * @param string $inResponseTo |
|
169 | + */ |
|
167 | 170 | private function getBuildContainer($inResponseTo = null, TimeProviderInterface $timeProvider = null) |
168 | 171 | { |
169 | 172 | $buildContainer = new BuildContainer($pimple = new Container()); |
@@ -7,6 +7,11 @@ |
||
7 | 7 | |
8 | 8 | class ContactPersonChecker |
9 | 9 | { |
10 | + /** |
|
11 | + * @param string $givenName |
|
12 | + * @param string $surName |
|
13 | + * @param string $email |
|
14 | + */ |
|
10 | 15 | public static function check( |
11 | 16 | BaseTestCase $test, |
12 | 17 | $type, |
@@ -7,6 +7,11 @@ |
||
7 | 7 | |
8 | 8 | class IndexedEndpointChecker |
9 | 9 | { |
10 | + /** |
|
11 | + * @param string $location |
|
12 | + * @param integer $index |
|
13 | + * @param boolean $isDefault |
|
14 | + */ |
|
10 | 15 | public static function check(BaseTestCase $test, $binding, $location, $index, $isDefault, IndexedEndpoint $svc = null) |
11 | 16 | { |
12 | 17 | EndpointChecker::check($test, $binding, $location, $svc); |
@@ -7,6 +7,9 @@ |
||
7 | 7 | |
8 | 8 | class KeyDescriptorChecker |
9 | 9 | { |
10 | + /** |
|
11 | + * @param string $cn |
|
12 | + */ |
|
10 | 13 | public static function checkCertificateCN(BaseTestCase $test, $use, $cn, KeyDescriptor $kd = null) |
11 | 14 | { |
12 | 15 | $test->assertNotNull($kd); |
@@ -7,6 +7,11 @@ |
||
7 | 7 | |
8 | 8 | class OrganizationChecker |
9 | 9 | { |
10 | + /** |
|
11 | + * @param string $name |
|
12 | + * @param string $display |
|
13 | + * @param string $url |
|
14 | + */ |
|
10 | 15 | public static function check(BaseTestCase $test, $name, $display, $url, Organization $organization = null) |
11 | 16 | { |
12 | 17 | $test->assertNotNull($organization); |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | } |
151 | 151 | |
152 | 152 | /** |
153 | - * @param XMLSecurityKey|null $privateKey |
|
153 | + * @param XMLSecurityKey $privateKey |
|
154 | 154 | * |
155 | 155 | * @return AbstractCredential |
156 | 156 | */ |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | } |
163 | 163 | |
164 | 164 | /** |
165 | - * @param XMLSecurityKey|null $publicKey |
|
165 | + * @param XMLSecurityKey $publicKey |
|
166 | 166 | * |
167 | 167 | * @return AbstractCredential |
168 | 168 | */ |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
65 | - * @param array|string[] $names |
|
65 | + * @param string[] $names |
|
66 | 66 | * @param string|null $namespace |
67 | 67 | */ |
68 | 68 | protected function singleElementsToXml(array $names, \DOMNode $parent, SerializationContext $context, $namespace = null) |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | } |
166 | 166 | |
167 | 167 | /** |
168 | - * @param array|string[] $names |
|
168 | + * @param string[] $names |
|
169 | 169 | */ |
170 | 170 | protected function attributesToXml(array $names, \DOMElement $element) |
171 | 171 | { |