Completed
Push — master ( 82c7bd...8afd90 )
by Kirill
11:36 queued 08:06
created
src/Compiler/Builder/Definition/SchemaBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      */
116 116
     private function validateFieldName(string $field, SchemaFieldDefinitionNode $rule, SchemaDefinition $schema): void
117 117
     {
118
-        if (! \in_array($field, [self::FIELD_QUERY, self::FIELD_MUTATION, self::FIELD_SUBSCRIPTION], true)) {
118
+        if (!\in_array($field, [self::FIELD_QUERY, self::FIELD_MUTATION, self::FIELD_SUBSCRIPTION], true)) {
119 119
             $error = \sprintf('Invalid %s field name "%s"', $schema, $field);
120 120
 
121 121
             throw (new TypeConflictException($error))->throwsIn($schema->getFile(), $rule->getOffset());
Please login to merge, or discard this patch.
src/Compiler/Renderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         }
31 31
 
32 32
         if (self::is($modifiers, ProvidesTypeIndication::IS_LIST)) {
33
-            $result = '[' . $result . ']';
33
+            $result = '['.$result.']';
34 34
         }
35 35
 
36 36
         if (self::is($modifiers, ProvidesTypeIndication::IS_LIST_OF_NOT_NULL)) {
Please login to merge, or discard this patch.