Passed
Push — master ( 63b2c7...9fa2c5 )
by Baptiste
53s
created
src/Json/EachInCollectionTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             ->isTraversable()
41 41
         ;
42 42
 
43
-        $values = array_map(function ($value) use ($property) { return $this->accessor->getValue($value, $property); }, $values);
43
+        $values = array_map(function($value) use ($property) { return $this->accessor->getValue($value, $property); }, $values);
44 44
 
45 45
         $assert = Assert::that($values)
46 46
             ->all()
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             ->isTraversable()
66 66
         ;
67 67
 
68
-        $values = array_map(function ($value) use ($property) { return $this->accessor->getValue($value, $property); }, $values);
68
+        $values = array_map(function($value) use ($property) { return $this->accessor->getValue($value, $property); }, $values);
69 69
 
70 70
         $assert = Assert::that($values)
71 71
             ->all()
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             ->isTraversable()
92 92
         ;
93 93
 
94
-        $values = array_map(function ($value) use ($property) { return $this->accessor->getValue($value, $property); }, $values);
94
+        $values = array_map(function($value) use ($property) { return $this->accessor->getValue($value, $property); }, $values);
95 95
 
96 96
         $assert = Assert::that($values)
97 97
             ->all()
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             ->isTraversable()
118 118
         ;
119 119
 
120
-        $values = array_map(function ($value) use ($property) { return $this->accessor->getValue($value, $property); }, $values);
120
+        $values = array_map(function($value) use ($property) { return $this->accessor->getValue($value, $property); }, $values);
121 121
 
122 122
         $assert = Assert::that($values)
123 123
             ->all()
Please login to merge, or discard this patch.
src/Json/Context.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
     {
223 223
         $this->getValue(null);
224 224
 
225
-        [$contentType,] = explode(';', $this->history->getLastResponse()->getHeaderLine('Content-Type'), 2);
225
+        [$contentType, ] = explode(';', $this->history->getLastResponse()->getHeaderLine('Content-Type'), 2);
226 226
 
227 227
         Assert::that(json_last_error())
228 228
             ->same(JSON_ERROR_NONE, sprintf('The response is not a valid json (%s)', json_last_error_msg()))
Please login to merge, or discard this patch.