@@ -381,7 +381,7 @@ |
||
381 | 381 | /** |
382 | 382 | * @see ArrayObject::append |
383 | 383 | * |
384 | - * @param mixed $value |
|
384 | + * @param Hashable $value |
|
385 | 385 | */ |
386 | 386 | public function append( $value ) { |
387 | 387 | $this->setElement( null, $value ); |
@@ -84,7 +84,7 @@ |
||
84 | 84 | /** |
85 | 85 | * @see Comparable::equals |
86 | 86 | * |
87 | - * @param mixed $target |
|
87 | + * @param AliasGroup $target |
|
88 | 88 | * |
89 | 89 | * @return bool |
90 | 90 | */ |
@@ -144,7 +144,7 @@ |
||
144 | 144 | * |
145 | 145 | * @param PropertyIdProvider $object |
146 | 146 | * |
147 | - * @return bool|int |
|
147 | + * @return integer |
|
148 | 148 | * @throws RuntimeException |
149 | 149 | */ |
150 | 150 | public function getFlatArrayIndexOfObject( $object ) { |
@@ -40,6 +40,9 @@ discard block |
||
40 | 40 | list ( $this->repositoryName, $this->localPart ) = self::extractRepositoryNameAndLocalPart( $serialization ); |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @param string $serialization |
|
45 | + */ |
|
43 | 46 | private static function assertValidSerialization( $serialization ) { |
44 | 47 | if ( !is_string( $serialization ) ) { |
45 | 48 | throw new InvalidArgumentException( '$serialization must be a string' ); |
@@ -92,7 +95,7 @@ discard block |
||
92 | 95 | * Note: this method does not perform any validation of the given input. Calling code should take |
93 | 96 | * care of this! |
94 | 97 | * |
95 | - * @param $serialization |
|
98 | + * @param string $serialization |
|
96 | 99 | * @return array |
97 | 100 | */ |
98 | 101 | private static function extractSerializationParts( $serialization ) { |