@@ -52,12 +52,12 @@ discard block |
||
| 52 | 52 | ?: GqlEntityRegistry::createEntity($typeName, new CodeDataType([ |
| 53 | 53 | 'name' => $typeName, |
| 54 | 54 | 'description' => 'This entity has all the CodeData properties', |
| 55 | - 'fields' => function () use ($codeDataFields) { |
|
| 55 | + 'fields' => function() use ($codeDataFields) { |
|
| 56 | 56 | return $codeDataFields; |
| 57 | 57 | }, |
| 58 | 58 | ])); |
| 59 | 59 | |
| 60 | - TypeLoader::registerType($typeName, function () use ($codeDataType) { |
|
| 60 | + TypeLoader::registerType($typeName, function() use ($codeDataType) { |
|
| 61 | 61 | return $codeDataType; |
| 62 | 62 | }); |
| 63 | 63 | |
@@ -70,6 +70,6 @@ discard block |
||
| 70 | 70 | public static function getName($context = null): string |
| 71 | 71 | { |
| 72 | 72 | /** @var Code $context */ |
| 73 | - return $context->handle . '_CodeData'; |
|
| 73 | + return $context->handle.'_CodeData'; |
|
| 74 | 74 | } |
| 75 | 75 | } |