@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\GraphQL\Types; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\GraphQL\Types; |
12 | 12 |
@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\GraphQL\Types; |
12 | 12 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public static function getName(): string |
30 | 30 | { |
31 | - if (! isset(self::$names[static::class])) { |
|
31 | + if (!isset(self::$names[static::class])) { |
|
32 | 32 | $reflection = new \ReflectionClass(static::class); |
33 | 33 | |
34 | 34 | self::$names[static::class] = Str::replaceLast('Type', '', $reflection->getShortName()); |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\GraphQL\Types; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\GraphQL\Types; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\GraphQL\Types; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\GraphQL\Types; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\GraphQL\Types; |
12 | 12 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace App\GraphQL\Kernel; |
11 | 11 | |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | { |
54 | 54 | return new EnumType([ |
55 | 55 | 'name' => $shortName, |
56 | - 'description' => $shortName . ' type', |
|
56 | + 'description' => $shortName.' type', |
|
57 | 57 | 'values' => $this->getGraphQLValues($enum, $shortName), |
58 | 58 | ]); |
59 | 59 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | public function toGraphQL(string $enum): EnumType |
67 | 67 | { |
68 | - if (! array_key_exists($enum, $this->enums)) { |
|
68 | + if (!array_key_exists($enum, $this->enums)) { |
|
69 | 69 | $shortName = (new \ReflectionClass($enum))->getShortName(); |
70 | 70 | |
71 | 71 | $this->enums[$enum] = $this->createGraphQLEnumType($enum, $shortName); |