Completed
Push — rel ( 6558a2 )
by Bene
06:53
created
src/Deserializers/LegacyItemDeserializer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -154,6 +154,9 @@
 block discarded – undo
154 154
 		return $seralization;
155 155
 	}
156 156
 
157
+	/**
158
+	 * @param string $key
159
+	 */
157 160
 	private function getArrayFromKey( $key, array $serialization ) {
158 161
 		if ( !array_key_exists( $key, $serialization ) ) {
159 162
 			return array();
Please login to merge, or discard this patch.
tests/integration/Deserializers/EntityDeserializerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
 		return $this->getSerializationFromFile( 'items/current/Q1.json' );
63 63
 	}
64 64
 
65
+	/**
66
+	 * @param string $file
67
+	 */
65 68
 	private function getSerializationFromFile( $file ) {
66 69
 		$itemJson = file_get_contents( __DIR__ . '/../../data/' . $file );
67 70
 		return json_decode( $itemJson, true );
Please login to merge, or discard this patch.
tests/integration/RealEntitiesTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
49 49
 		return $this->getEntitySerializationsFromDir( __DIR__ . '/../data/items/legacy/' );
50 50
 	}
51 51
 
52
+	/**
53
+	 * @param string $dir
54
+	 */
52 55
 	private function getEntitySerializationsFromDir( $dir ) {
53 56
 		$argumentLists = array();
54 57
 
Please login to merge, or discard this patch.
src/Deserializers/LegacyClaimDeserializer.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -50,6 +50,10 @@
 block discarded – undo
50 50
 		}
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param string $key
55
+	 * @param string $message
56
+	 */
53 57
 	private function assertHasKey( $key, $message ) {
54 58
 		if ( !array_key_exists( $key, $this->serialization ) ) {
55 59
 			throw new MissingAttributeException( $key, $message );
Please login to merge, or discard this patch.