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); |
@@ -491,7 +491,7 @@ |
||
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']; |