Passed
Push — master ( 1619da...3ddd71 )
by Andrey
55s queued 13s
created
src/ArgumentResolver/Middleware/Next.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     public function resolve(mixed $argument): array
23 23
     {
24 24
         /** @psalm-suppress RedundantPropertyInitializationCheck */
25
-        if (! isset($this->queue)) {
25
+        if (!isset($this->queue)) {
26 26
             throw new NextHandlerIsEmptyException('Cannot invoke pipeline resolver more than once');
27 27
         }
28 28
 
Please login to merge, or discard this patch.
src/TypeResolver/Middleware/Next.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function resolve(mixed $type): Webonyx\Type
24 24
     {
25 25
         /** @psalm-suppress RedundantPropertyInitializationCheck */
26
-        if (! isset($this->queue)) {
26
+        if (!isset($this->queue)) {
27 27
             throw new NextHandlerIsEmptyException('Cannot invoke pipeline resolver more than once');
28 28
         }
29 29
 
Please login to merge, or discard this patch.
src/InputObjectFieldResolver/Middleware/Next.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function resolve(mixed $field): Webonyx\InputObjectField
24 24
     {
25 25
         /** @psalm-suppress RedundantPropertyInitializationCheck */
26
-        if (! isset($this->queue)) {
26
+        if (!isset($this->queue)) {
27 27
             throw new NextHandlerIsEmptyException('Cannot invoke pipeline resolver more than once');
28 28
         }
29 29
 
Please login to merge, or discard this patch.
src/Type/AbstractObjectType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -89,11 +89,11 @@  discard block
 block discarded – undo
89 89
         return $this;
90 90
     }
91 91
 
92
-    private function getObjectField(int|string $name, string|array $field): AbstractObjectField
92
+    private function getObjectField(int | string $name, string | array $field): AbstractObjectField
93 93
     {
94 94
         $fieldName = $field['name'] ?? $name;
95 95
 
96
-        if (! is_string($fieldName)) {
96
+        if (!is_string($fieldName)) {
97 97
             throw new CantResolveObjectFieldException(
98 98
                 'Can\'t resolve ObjectField: wrong configuration - undefined name',
99 99
             );
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
             return $this->makeObjectField($fieldName, ['type' => $field]);
104 104
         }
105 105
 
106
-        if (! isset($field['type']) || ! is_string($field['type'])) {
106
+        if (!isset($field['type']) || !is_string($field['type'])) {
107 107
             throw new CantResolveObjectFieldException(
108 108
                 'Can\'t resolve ObjectField: wrong configuration - undefined type',
109 109
             );
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
         }
178 178
 
179 179
         if (is_array($callable)) {
180
-            if (! isset($callable[0], $callable[1])) {
180
+            if (!isset($callable[0], $callable[1])) {
181 181
                 throw new CantResolveObjectFieldException(sprintf(
182 182
                     'Can\'t resolve ObjectField: wrong configuration - %s must be callable',
183 183
                     $option
Please login to merge, or discard this patch.
src/Type/AbstractInterfaceType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,11 +73,11 @@  discard block
 block discarded – undo
73 73
         return $this;
74 74
     }
75 75
 
76
-    private function getObjectField(int|string $name, string|array $field): AbstractObjectField
76
+    private function getObjectField(int | string $name, string | array $field): AbstractObjectField
77 77
     {
78 78
         $fieldName = $field['name'] ?? $name;
79 79
 
80
-        if (! is_string($fieldName)) {
80
+        if (!is_string($fieldName)) {
81 81
             throw new CantResolveObjectFieldException(
82 82
                 'Can\'t resolve ObjectField: wrong configuration - undefined name',
83 83
             );
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             return $this->makeObjectField($fieldName, ['type' => $field]);
88 88
         }
89 89
 
90
-        if (! isset($field['type']) || ! is_string($field['type'])) {
90
+        if (!isset($field['type']) || !is_string($field['type'])) {
91 91
             throw new CantResolveObjectFieldException(
92 92
                 'Can\'t resolve ObjectField: wrong configuration - undefined type',
93 93
             );
Please login to merge, or discard this patch.
src/ObjectFieldResolver/Middleware/Next.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function resolve(mixed $field): Webonyx\FieldDefinition
24 24
     {
25 25
         /** @psalm-suppress RedundantPropertyInitializationCheck */
26
-        if (! isset($this->queue)) {
26
+        if (!isset($this->queue)) {
27 27
             throw new NextHandlerIsEmptyException('Cannot invoke pipeline resolver more than once');
28 28
         }
29 29
 
Please login to merge, or discard this patch.