Completed
Branch develop (b41e4a)
by Mariano
04:26
created
src/Validator/Properties.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -92,13 +92,13 @@
 block discarded – undo
92 92
         return $this->validateList($value);
93 93
     }
94 94
 
95
-	private function convertToArray($value)
96
-	{
97
-		if (!is_array($value))  {
98
-		    $value = json_decode(json_encode($value), true);
99
-		}
100
-		return $value;
101
-	}
95
+    private function convertToArray($value)
96
+    {
97
+        if (!is_array($value))  {
98
+            $value = json_decode(json_encode($value), true);
99
+        }
100
+        return $value;
101
+    }
102 102
 
103 103
 
104 104
     /**
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.