Completed
Push — factoryTypes ( 9fec4f )
by no
03:58
created
src/Deserializers/ClaimDeserializer.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Deserializers/ClaimsDeserializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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 ) {
Please login to merge, or discard this patch.
src/Deserializers/EntityDeserializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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 ) {
Please login to merge, or discard this patch.
src/Serializers/ClaimSerializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Serializers/ItemSerializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.