@@ -31,6 +31,7 @@ discard block |
||
31 | 31 | * |
32 | 32 | * @param AttributeType $type Attribute type |
33 | 33 | * @param AttributeValue ...$values Attribute values |
34 | + * @param AttributeValue[] $values |
|
34 | 35 | */ |
35 | 36 | public function __construct(AttributeType $type, AttributeValue ...$values) { |
36 | 37 | // check that attribute values have correct oid |
@@ -64,6 +65,7 @@ discard block |
||
64 | 65 | * Convenience method to initialize from attribute values. |
65 | 66 | * |
66 | 67 | * @param AttributeValue ...$values One or more values |
68 | + * @param AttributeValue[] $values |
|
67 | 69 | * @throws \LogicException |
68 | 70 | * @return self |
69 | 71 | */ |
@@ -30,6 +30,7 @@ |
||
30 | 30 | * Constructor |
31 | 31 | * |
32 | 32 | * @param RDN ...$rdns RDN components |
33 | + * @param RDN[] $rdns |
|
33 | 34 | */ |
34 | 35 | public function __construct(RDN ...$rdns) { |
35 | 36 | $this->_rdns = $rdns; |
@@ -26,6 +26,7 @@ discard block |
||
26 | 26 | * Constructor |
27 | 27 | * |
28 | 28 | * @param AttributeTypeAndValue ...$attribs One or more attributes |
29 | + * @param AttributeTypeAndValue[] $attribs |
|
29 | 30 | */ |
30 | 31 | public function __construct(AttributeTypeAndValue ...$attribs) { |
31 | 32 | if (!count($attribs)) { |
@@ -39,6 +40,7 @@ discard block |
||
39 | 40 | * Convenience method to initialize RDN from AttributeValue objects. |
40 | 41 | * |
41 | 42 | * @param AttributeValue ...$values One or more attributes |
43 | + * @param AttributeValue[] $values |
|
42 | 44 | * @return self |
43 | 45 | */ |
44 | 46 | public static function fromAttributeValues(AttributeValue ...$values) { |
@@ -327,7 +327,7 @@ |
||
327 | 327 | * |
328 | 328 | * @param string $pattern |
329 | 329 | * @param int $offset |
330 | - * @return string|null Null if pattern doesn't match |
|
330 | + * @return string Null if pattern doesn't match |
|
331 | 331 | */ |
332 | 332 | private function _regexMatch($pattern, &$offset) { |
333 | 333 | $idx = $offset; |