We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -89,21 +89,21 @@ discard block |
||
89 | 89 | 'friends' => [ |
90 | 90 | [ |
91 | 91 | 'name' => 'Luke Skywalker', |
92 | - 'appearsIn' => ['NEWHOPE', 'EMPIRE', 'JEDI',], |
|
92 | + 'appearsIn' => ['NEWHOPE', 'EMPIRE', 'JEDI', ], |
|
93 | 93 | 'friends' => [ |
94 | - ['name' => 'Han Solo',], |
|
95 | - ['name' => 'Leia Organa',], |
|
96 | - ['name' => 'C-3PO',], |
|
97 | - ['name' => 'R2-D2',], |
|
94 | + ['name' => 'Han Solo', ], |
|
95 | + ['name' => 'Leia Organa', ], |
|
96 | + ['name' => 'C-3PO', ], |
|
97 | + ['name' => 'R2-D2', ], |
|
98 | 98 | ], |
99 | 99 | ], |
100 | 100 | [ |
101 | 101 | 'name' => 'Han Solo', |
102 | 102 | 'appearsIn' => ['NEWHOPE', 'EMPIRE', 'JEDI'], |
103 | 103 | 'friends' => [ |
104 | - ['name' => 'Luke Skywalker',], |
|
104 | + ['name' => 'Luke Skywalker', ], |
|
105 | 105 | ['name' => 'Leia Organa'], |
106 | - ['name' => 'R2-D2',], |
|
106 | + ['name' => 'R2-D2', ], |
|
107 | 107 | ] |
108 | 108 | ], |
109 | 109 | [ |
@@ -111,10 +111,10 @@ discard block |
||
111 | 111 | 'appearsIn' => ['NEWHOPE', 'EMPIRE', 'JEDI'], |
112 | 112 | 'friends' => |
113 | 113 | [ |
114 | - ['name' => 'Luke Skywalker',], |
|
115 | - ['name' => 'Han Solo',], |
|
116 | - ['name' => 'C-3PO',], |
|
117 | - ['name' => 'R2-D2',], |
|
114 | + ['name' => 'Luke Skywalker', ], |
|
115 | + ['name' => 'Han Solo', ], |
|
116 | + ['name' => 'C-3PO', ], |
|
117 | + ['name' => 'R2-D2', ], |
|
118 | 118 | ], |
119 | 119 | ], |
120 | 120 | ], |
@@ -99,7 +99,7 @@ |
||
99 | 99 | |
100 | 100 | public function getSkeletonDirs(bool $withDefault = true): array |
101 | 101 | { |
102 | - $skeletonDirs = $this->skeletonDirs ; |
|
102 | + $skeletonDirs = $this->skeletonDirs; |
|
103 | 103 | |
104 | 104 | if ($withDefault) { |
105 | 105 | $skeletonDirs[] = __DIR__.'/../Resources/skeleton'; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | public function getBuilder(string $name, ?string $queryAlias, ?string $mutationAlias = null, ?string $subscriptionAlias = null, array $types = []): callable |
27 | 27 | { |
28 | - return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types): ExtensibleSchema { |
|
28 | + return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types) : ExtensibleSchema { |
|
29 | 29 | static $schema = null; |
30 | 30 | if (null === $schema) { |
31 | 31 | $schema = $this->create($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types); |
@@ -39,7 +39,7 @@ |
||
39 | 39 | public function warmUp($cacheDir): void |
40 | 40 | { |
41 | 41 | if (!$this->compiled) { |
42 | - return; |
|
42 | + return; |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | // use warm up cache dir if type generator cache dir not already explicitly declare |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | $unionConfiguration['resolveType'] = self::formatExpression($unionAnnotation->resolveType); |
492 | 492 | } else { |
493 | 493 | if (!isset($methods['resolveType'])) { |
494 | - throw new InvalidArgumentException(\sprintf('The annotation @Union has no "resolveType" attribute and the related class has no "resolveType()" public static method. You need to define of them.')); |
|
494 | + throw new InvalidArgumentException(\sprintf('The annotation @Union has no "resolveType" attribute and the related class has no "resolveType()" public static method. You need to define of them.')); |
|
495 | 495 | } |
496 | 496 | |
497 | 497 | $method = $methods['resolveType']['method']; |
@@ -873,7 +873,7 @@ discard block |
||
873 | 873 | $type = self::resolveTypeFromClass($target, ['type']); |
874 | 874 | |
875 | 875 | if (!$type) { |
876 | - throw new \RuntimeException(\sprintf('Unable to auto-guess GraphQL type from Doctrine target class "%s" (check if the target class is a GraphQL type itself (with a @GQL\Type annotation).', $target)); |
|
876 | + throw new \RuntimeException(\sprintf('Unable to auto-guess GraphQL type from Doctrine target class "%s" (check if the target class is a GraphQL type itself (with a @GQL\Type annotation).', $target)); |
|
877 | 877 | } |
878 | 878 | |
879 | 879 | $isMultiple = $associationAnnotations[\get_class($associationAnnotation)]; |
@@ -496,7 +496,7 @@ |
||
496 | 496 | |
497 | 497 | $method = $methods['resolveType']['method']; |
498 | 498 | |
499 | - if (!$method->isStatic() ||!$method->isPublic()) { |
|
499 | + if (!$method->isStatic() || !$method->isPublic()) { |
|
500 | 500 | throw new InvalidArgumentException(\sprintf('The "resolveType()" method on class must be static and public. Or you must define a "resolveType" attribute on the @Union annotation.')); |
501 | 501 | } |
502 | 502 |