@@ -50,6 +50,7 @@ |
||
| 50 | 50 | * @param PathValidationConfig $config Validation config |
| 51 | 51 | * @param Certificate ...$certificates Certificates from the trust anchor to |
| 52 | 52 | * the end-entity certificate |
| 53 | + * @param Certificate[] $certificates |
|
| 53 | 54 | */ |
| 54 | 55 | public function __construct(Crypto $crypto, PathValidationConfig $config, |
| 55 | 56 | Certificate ...$certificates) |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * Calculate policy intersection as specified in Wrap-Up Procedure 6.1.5.g. |
| 82 | 82 | * |
| 83 | 83 | * @param ValidatorState $state |
| 84 | - * @param array $policies |
|
| 84 | + * @param string[] $policies |
|
| 85 | 85 | * @return ValidatorState |
| 86 | 86 | */ |
| 87 | 87 | public function calculateIntersection(ValidatorState $state, array $policies) |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | * @param Certificate $cert |
| 267 | 267 | * @param ValidatorState $state |
| 268 | 268 | * @param string $idp OID of the issuer domain policy |
| 269 | - * @param array $sdps Array of subject domain policy OIDs |
|
| 269 | + * @param string[] $sdps Array of subject domain policy OIDs |
|
| 270 | 270 | */ |
| 271 | 271 | protected function _applyAnyPolicyMapping(Certificate $cert, |
| 272 | 272 | ValidatorState $state, $idp, array $sdps) |
@@ -404,6 +404,7 @@ discard block |
||
| 404 | 404 | * Gather all children of given nodes to a flattened array. |
| 405 | 405 | * |
| 406 | 406 | * @param PolicyNode ...$nodes |
| 407 | + * @param PolicyNode[] $nodes |
|
| 407 | 408 | * @return PolicyNode[] |
| 408 | 409 | */ |
| 409 | 410 | private static function _gatherChildren(PolicyNode ...$nodes) |