Passed
Push — develop-v3 ( 9e872f...6bb9a5 )
by Andrew
15:35
created
src/gql/types/generators/CodeDataGenerator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.