@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQLNette\DI; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQLNette\Tests\DI; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQLNette\Tests; |
4 | 4 | |
@@ -13,11 +13,11 @@ discard block |
||
13 | 13 | { |
14 | 14 | $tempDir = __DIR__ . '/temp/' . getmypid(); |
15 | 15 | |
16 | - if (! file_exists($tempDir . '/log')) { |
|
16 | + if ( ! file_exists($tempDir . '/log')) { |
|
17 | 17 | mkdir($tempDir . '/log', 0777, true); |
18 | 18 | } |
19 | 19 | |
20 | - register_shutdown_function(function (): void { |
|
20 | + register_shutdown_function(function(): void { |
|
21 | 21 | FileSystem::delete(__DIR__ . '/temp'); |
22 | 22 | }); |
23 | 23 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQLNette\Tests; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQL\Contract\Field; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQL\Contract\Provider; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQL\Contract\Http\Request; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQL\Contract\Mutation; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace Portiny\GraphQL\Converter; |
4 | 4 | |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | 'type' => $queryField->getType(), |
16 | 16 | 'description' => $queryField->getDescription(), |
17 | 17 | 'args' => $queryField->getArgs(), |
18 | - 'resolve' => function ($root, $args, $context) use ($queryField) { |
|
18 | + 'resolve' => function($root, $args, $context) use ($queryField) { |
|
19 | 19 | return call_user_func_array([$queryField, 'resolve'], [$root, $args, $context]); |
20 | 20 | }, |
21 | 21 | ], |