Passed
Pull Request — master (#1359)
by Rene
02:38
created
src/JsonSerializationVisitor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     public function visitDouble(float $data, array $type)
72 72
     {
73 73
         $percision = $type['params'][0] ?? null;
74
-        if (!is_int($percision)) {
74
+        if ( ! is_int($percision)) {
75 75
             return $data;
76 76
         }
77 77
 
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 
94 94
         $rs = isset($type['params'][1]) ? new \ArrayObject() : [];
95 95
 
96
-        $isList = isset($type['params'][0]) && !isset($type['params'][1]);
96
+        $isList = isset($type['params'][0]) && ! isset($type['params'][1]);
97 97
 
98 98
         $elType = $this->getElementType($type);
99 99
         foreach ($data as $k => $v) {
Please login to merge, or discard this patch.