Passed
Push — master ( 0c7a4b...21fb0e )
by Andrey
52s queued 14s
created
src/ArgumentResolver/Middleware/ArgumentMiddleware.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
 
23 23
     public function process(mixed $argument, ArgumentResolverInterface $argumentResolver): array
24 24
     {
25
-        if (! $argument instanceof ArgumentInterface) {
25
+        if (!$argument instanceof ArgumentInterface) {
26 26
             return $argumentResolver->resolve($argument);
27 27
         }
28 28
 
Please login to merge, or discard this patch.
src/TypeRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     public function getTypes(): iterable
67 67
     {
68 68
         foreach ($this->registry as $type) {
69
-            if ($type instanceof Webonyx\ObjectType && ! empty($type->getInterfaces())) {
69
+            if ($type instanceof Webonyx\ObjectType && !empty($type->getInterfaces())) {
70 70
                 yield $type;
71 71
             }
72 72
         }
Please login to merge, or discard this patch.
src/Type/DateTime.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
 
23 23
     public function serialize(mixed $value): string
24 24
     {
25
-        if (! $value instanceof \DateTimeInterface) {
25
+        if (!$value instanceof \DateTimeInterface) {
26 26
             throw new InvariantViolation(
27 27
                 'DateTime is not an instance of DateTimeInterface: ' . Utils::printSafe($value)
28 28
             );
Please login to merge, or discard this patch.
src/Type/Date.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
 
23 23
     public function serialize(mixed $value): string
24 24
     {
25
-        if (! $value instanceof \DateTimeInterface) {
25
+        if (!$value instanceof \DateTimeInterface) {
26 26
             throw new InvariantViolation(
27 27
                 'Date is not an instance of DateTimeInterface: ' . Utils::printSafe($value)
28 28
             );
Please login to merge, or discard this patch.
src/InputObjectFieldResolver/Middleware/InputObjectFieldMiddleware.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
 
24 24
     public function process(mixed $field, InputObjectFieldResolverInterface $fieldResolver): Webonyx\InputObjectField
25 25
     {
26
-        if (! $field instanceof InputObjectFieldInterface) {
26
+        if (!$field instanceof InputObjectFieldInterface) {
27 27
             return $fieldResolver->resolve($field);
28 28
         }
29 29
 
Please login to merge, or discard this patch.
src/Common/LazyTypeByReflectionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
             if ($this->typeRegistry->has($name)) {
83 83
                 $gqlType = $this->typeRegistry->get($name);
84 84
 
85
-                if (! $gqlType instanceof Webonyx\ObjectType) {
85
+                if (!$gqlType instanceof Webonyx\ObjectType) {
86 86
                     throw new CantResolveGraphQLTypeException('UnionType must contains only ObjectTypes');
87 87
                 }
88 88
 
Please login to merge, or discard this patch.
src/Common/DefinitionAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
 trait DefinitionAwareTrait
12 12
 {
13
-    private function getTypeName(ReflectionClass $class, Attribute\AbstractType|null $attribute): string
13
+    private function getTypeName(ReflectionClass $class, Attribute\AbstractType | null $attribute): string
14 14
     {
15 15
         return $attribute?->name ?? $class->getShortName();
16 16
     }
Please login to merge, or discard this patch.
src/ObjectFieldResolver/Middleware/ObjectFieldMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 
27 27
     public function process(mixed $field, ObjectFieldResolverInterface $fieldResolver): Webonyx\FieldDefinition
28 28
     {
29
-        if (! $field instanceof ObjectFieldInterface) {
29
+        if (!$field instanceof ObjectFieldInterface) {
30 30
             return $fieldResolver->resolve($field);
31 31
         }
32 32
 
Please login to merge, or discard this patch.
src/Field/FieldExtractorTrait.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
      */
24 24
     private function extract(array $config, string $class): mixed
25 25
     {
26
-        if (! isset($config['name'], $config['type'])) {
26
+        if (!isset($config['name'], $config['type'])) {
27 27
             return $config;
28 28
         }
29 29
 
Please login to merge, or discard this patch.