Completed
Branch develop (b41e4a)
by Mariano
04:26
created
src/Validator/Properties.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -141,6 +141,9 @@
 block discarded – undo
141 141
         return $this->validateListItems(array_slice($keys, $count, count($list) - $count));
142 142
     }
143 143
 
144
+    /**
145
+     * @param integer[] $array
146
+     */
144 147
     private function validateListItems($array)
145 148
     {
146 149
         foreach ($array as $item) {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             return true;
71 71
         }
72 72
 
73
-        return $this->executePropertiesValidation($this->convertToArray( $value ));
73
+        return $this->executePropertiesValidation($this->convertToArray($value));
74 74
     }
75 75
 
76 76
     private function executePropertiesValidation($value)
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
 	private function convertToArray($value)
96 96
 	{
97
-		if (!is_array($value))  {
97
+		if (!is_array($value)) {
98 98
 		    $value = json_decode(json_encode($value), true);
99 99
 		}
100 100
 		return $value;
Please login to merge, or discard this patch.