Passed
Push — master ( 3b66e1...fb7c7d )
by Andrey
58s queued 12s
created
src/Type/AbstractObjectType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
             $fieldName = $field['name'] ?? $name;
46 46
 
47
-            if (! is_string($fieldName)) {
47
+            if (!is_string($fieldName)) {
48 48
                 throw new CantResolveObjectFieldException('Can\'t resolve ObjectField configuration: undefined name');
49 49
             }
50 50
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             }
56 56
 
57 57
             if (is_array($field)) {
58
-                if (! isset($field['type']) || ! is_string($field['type'])) {
58
+                if (!isset($field['type']) || !is_string($field['type'])) {
59 59
                     throw new CantResolveObjectFieldException(
60 60
                         'Can\'t resolve ObjectField configuration: undefined type',
61 61
                     );
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
                 return \Closure::fromCallable($callable);
147 147
             }
148 148
 
149
-            if (! isset($callable[0], $callable[1])) {
149
+            if (!isset($callable[0], $callable[1])) {
150 150
                 throw new CantResolveObjectFieldException(
151 151
                     'Can\'t resolve ObjectField configuration: resolve must be callable',
152 152
                 );
Please login to merge, or discard this patch.