@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | final class PhpEnumType extends \GraphQL\Type\Definition\PhpEnumType |
| 14 | 14 | { |
| 15 | - protected function extractDescription(ReflectionClassConstant|ReflectionClass $reflection): ?string |
|
| 15 | + protected function extractDescription(ReflectionClassConstant | ReflectionClass $reflection): ?string |
|
| 16 | 16 | { |
| 17 | 17 | if ($reflection instanceof ReflectionClassConstant) { |
| 18 | 18 | $value = $reflection->getValue(); |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | return $sql; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - public function convertToPHPValue(mixed $value, AbstractPlatform $platform): null|string|BackedEnum |
|
| 28 | + public function convertToPHPValue(mixed $value, AbstractPlatform $platform): null | string | BackedEnum |
|
| 29 | 29 | { |
| 30 | 30 | if ($value === null || '' === $value) { |
| 31 | 31 | return null; |