Passed
Push — master ( 2cdaae...14b6d5 )
by Jhao
02:25
created
src/Dispatching/Http/ApiClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 
144 144
     private function serializeRequestData(array $data): array
145 145
     {
146
-        return \array_map(function ($value) {
146
+        return \array_map(function($value) {
147 147
             if (\is_object($value) && \method_exists($value, '__toString')) {
148 148
                 return (string) $value;
149 149
             }
Please login to merge, or discard this patch.
src/Core/Enum.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             $value = $value->getValue();
26 26
         }
27 27
 
28
-        if (! \in_array($value, static::toArray(), true)) {
28
+        if (!\in_array($value, static::toArray(), true)) {
29 29
             throw new \UnexpectedValueException("Value '$value' is not part of the enum ".static::class);
30 30
         }
31 31
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $class = static::class;
38 38
 
39
-        if (! isset(static::$cache[$class])) {
39
+        if (!isset(static::$cache[$class])) {
40 40
             static::$cache[$class] = (new \ReflectionClass($class))->getConstants();
41 41
         }
42 42
 
Please login to merge, or discard this patch.