Passed
Pull Request — master (#30)
by Andrey
02:26
created
src/Type/AbstractInterfaceType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
         return $this;
54 54
     }
55 55
 
56
-    private function getObjectField(int|string $name, string|array $field): AbstractObjectField
56
+    private function getObjectField(int | string $name, string | array $field): AbstractObjectField
57 57
     {
58 58
         $fieldName = $field['name'] ?? $name;
59 59
 
60
-        if (! is_string($fieldName)) {
60
+        if (!is_string($fieldName)) {
61 61
             throw new CantResolveObjectFieldException('Can\'t resolve ObjectField configuration: undefined name');
62 62
         }
63 63
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         }
67 67
 
68 68
         if (is_array($field)) {
69
-            if (! isset($field['type']) || ! is_string($field['type'])) {
69
+            if (!isset($field['type']) || !is_string($field['type'])) {
70 70
                 throw new CantResolveObjectFieldException(
71 71
                     'Can\'t resolve ObjectField configuration: undefined type',
72 72
                 );
Please login to merge, or discard this patch.