Passed
Push — master ( ab80eb...29f471 )
by Andrey
03:08
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/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.
examples/spiral/app.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,5 +27,5 @@
 block discarded – undo
27 27
     exit(255);
28 28
 }
29 29
 
30
-$code = (int)$app->serve();
30
+$code = (int) $app->serve();
31 31
 exit($code);
Please login to merge, or discard this patch.
spiral/app/src/Application/Bootloader/ExceptionHandlerBootloader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         // is running in the console.
40 40
         $this->handler->addRenderer(new ConsoleRenderer());
41 41
 
42
-        $kernel->running(function (): void {
42
+        $kernel->running(function(): void {
43 43
             // Register the JSON renderer, that will be used when the application is
44 44
             // running in the HTTP context and a JSON response is expected.
45 45
             $this->handler->addRenderer(new JsonRenderer());
Please login to merge, or discard this patch.
examples/spiral/app/config/session.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  * @link https://spiral.dev/docs/basics-session
11 11
  */
12 12
 return [
13
-    'lifetime' => (int)env('SESSION_LIFETIME', 86400),
13
+    'lifetime' => (int) env('SESSION_LIFETIME', 86400),
14 14
     'cookie' => env('SESSION_COOKIE', 'sid'),
15 15
     'secure' => true,
16 16
     'sameSite' => null,
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         FileHandler::class,
19 19
         [
20 20
             'directory' => directory('runtime') . 'session',
21
-            'lifetime' => (int)env('SESSION_LIFETIME', 86400),
21
+            'lifetime' => (int) env('SESSION_LIFETIME', 86400),
22 22
         ]
23 23
     ),
24 24
 ];
Please login to merge, or discard this patch.
src/InputObjectFieldResolver/Middleware/ReflectionPropertyMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     public function process(mixed $field, InputObjectFieldResolverInterface $fieldResolver): Webonyx\InputObjectField
31 31
     {
32
-        if (! $field instanceof ReflectionProperty) {
32
+        if (!$field instanceof ReflectionProperty) {
33 33
             return $fieldResolver->resolve($field);
34 34
         }
35 35
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
             return new LazyParserType($attribute->type, $attribute->mode ?? 0, $this->typeRegistry);
84 84
         }
85 85
 
86
-        if (! $property->hasType()) {
86
+        if (!$property->hasType()) {
87 87
             throw new CantResolveGraphQLTypeException(\sprintf(
88 88
                 'Can\'t resolve GraphQL type for field "%s"',
89 89
                 $property->getName()
Please login to merge, or discard this patch.
src/Common/ResolveType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     public function __invoke(mixed $value, mixed $context, Webonyx\ResolveInfo $info): ?Webonyx\ObjectType
18 18
     {
19
-        if (! \is_object($value)) {
19
+        if (!\is_object($value)) {
20 20
             return null;
21 21
         }
22 22
 
Please login to merge, or discard this patch.