@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * |
| 72 | 72 | * @param mixed $serialization |
| 73 | 73 | * |
| 74 | - * @return object |
|
| 74 | + * @return Claim |
|
| 75 | 75 | * @throws DeserializationException |
| 76 | 76 | */ |
| 77 | 77 | public function deserialize( $serialization ) { |
@@ -155,6 +155,9 @@ discard block |
||
| 155 | 155 | } |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | + /** |
|
| 159 | + * @param string $attributeName |
|
| 160 | + */ |
|
| 158 | 161 | protected function requireAttribute( array $array, $attributeName ) { |
| 159 | 162 | if ( !array_key_exists( $attributeName, $array ) ) { |
| 160 | 163 | throw new MissingAttributeException( |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * |
| 32 | 32 | * @param mixed $serialization |
| 33 | 33 | * |
| 34 | - * @return object |
|
| 34 | + * @return Claims |
|
| 35 | 35 | * @throws DeserializationException |
| 36 | 36 | */ |
| 37 | 37 | public function deserialize( $serialization ) { |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * |
| 44 | 44 | * @param mixed $serialization |
| 45 | 45 | * |
| 46 | - * @return object |
|
| 46 | + * @return Entity |
|
| 47 | 47 | * @throws DeserializationException |
| 48 | 48 | */ |
| 49 | 49 | public function deserialize( $serialization ) { |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | /** |
| 66 | 66 | * @see Serializer::serialize |
| 67 | 67 | * |
| 68 | - * @param mixed $object |
|
| 68 | + * @param Claim $object |
|
| 69 | 69 | * |
| 70 | 70 | * @return array |
| 71 | 71 | * @throws SerializationException |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * @see Serializer::serialize |
| 68 | 68 | * |
| 69 | - * @param mixed $object |
|
| 69 | + * @param Item $object |
|
| 70 | 70 | * |
| 71 | 71 | * @return array |
| 72 | 72 | * @throws SerializationException |