@@ -50,6 +50,7 @@ |
||
50 | 50 | * @param Crypto $crypto |
51 | 51 | * @param PathValidationConfig $config |
52 | 52 | * @param Certificate ...$certificates |
53 | + * @param Certificate[] $certificates |
|
53 | 54 | */ |
54 | 55 | public function __construct(Crypto $crypto, PathValidationConfig $config, |
55 | 56 | Certificate ...$certificates) { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | /** |
56 | 56 | * Constructor |
57 | 57 | * |
58 | - * @param array $certificates |
|
58 | + * @param Certificate[] $certificates |
|
59 | 59 | * @param PolicyTree|null $policy_tree |
60 | 60 | * @param PublicKeyInfo $pubkey_info |
61 | 61 | * @param AlgorithmIdentifierType $algo |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | * Calculate policy intersection as specified in Wrap-Up Procedure 6.1.5.g. |
81 | 81 | * |
82 | 82 | * @param ValidatorState $state |
83 | - * @param array $policies |
|
83 | + * @param string[] $policies |
|
84 | 84 | * @return ValidatorState |
85 | 85 | */ |
86 | 86 | public function calculateIntersection(ValidatorState $state, array $policies) { |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | * @param Certificate $cert |
261 | 261 | * @param ValidatorState $state |
262 | 262 | * @param string $idp OID of the issuer domain policy |
263 | - * @param array $sdps Array of subject domain policy OIDs |
|
263 | + * @param string[] $sdps Array of subject domain policy OIDs |
|
264 | 264 | */ |
265 | 265 | protected function _applyAnyPolicyMapping(Certificate $cert, |
266 | 266 | ValidatorState $state, $idp, array $sdps) { |
@@ -392,6 +392,7 @@ discard block |
||
392 | 392 | * Gather all children of given nodes to a flattened array. |
393 | 393 | * |
394 | 394 | * @param PolicyNode ...$nodes |
395 | + * @param PolicyNode[] $nodes |
|
395 | 396 | * @return PolicyNode[] |
396 | 397 | */ |
397 | 398 | private static function _gatherChildren(PolicyNode ...$nodes) { |