We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | ?string $subscriptionAlias = null, |
| 33 | 33 | array $types = [] |
| 34 | 34 | ): Closure { |
| 35 | - return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types): ExtensibleSchema { |
|
| 35 | + return function () use ($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types) : ExtensibleSchema { |
|
| 36 | 36 | static $schema = null; |
| 37 | 37 | if (null === $schema) { |
| 38 | 38 | $schema = $this->create($name, $queryAlias, $mutationAlias, $subscriptionAlias, $types); |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | if (\is_array($callback)) { |
| 59 | 59 | [$class, $method] = $callback; |
| 60 | - } elseif(\is_string($callback)) { |
|
| 60 | + } elseif (\is_string($callback)) { |
|
| 61 | 61 | [$class, $method] = explode('::', $callback); |
| 62 | 62 | } else { |
| 63 | 63 | throw new GeneratorException(sprintf('Invalid type of "%s" value passed.', $fieldName)); |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | |
| 68 | 68 | if ($className === $typeConfig->class_name) { |
| 69 | 69 | // Create an alias if name of serializer is same as type name |
| 70 | - $className = 'Base' . $className; |
|
| 70 | + $className = 'Base'.$className; |
|
| 71 | 71 | $phpFile->addUse($class, $className); |
| 72 | 72 | } else { |
| 73 | 73 | $phpFile->addUse($class); |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | public const MODE_WRITE = 4; |
| 27 | 27 | public const MODE_OVERRIDE = 8; |
| 28 | 28 | public const GRAPHQL_SERVICES = 'services'; |
| 29 | - public const GRAPHQL_SERVICES_EXPR = '$' . self::GRAPHQL_SERVICES; |
|
| 29 | + public const GRAPHQL_SERVICES_EXPR = '$'.self::GRAPHQL_SERVICES; |
|
| 30 | 30 | |
| 31 | 31 | private static bool $classMapLoaded = false; |
| 32 | 32 | private array $typeConfigs; |