Completed
Push — master ( 875ce0...627de1 )
by Alexandr
02:46
created
src/Schema/AbstractSchema.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             $config['mutation'] = new InternalSchemaMutationObject(['name' => $this->getName($config) . 'Mutation']);
31 31
         }
32 32
         if (!array_key_exists('types', $config)) {
33
-          $config['types'] = [];
33
+            $config['types'] = [];
34 34
         }
35 35
 
36 36
         $this->config = new SchemaConfig($config, $this);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,10 +24,10 @@  discard block
 block discarded – undo
24 24
     public function __construct($config = [])
25 25
     {
26 26
         if (!array_key_exists('query', $config)) {
27
-            $config['query'] = new InternalSchemaQueryObject(['name' => $this->getName($config) . 'Query']);
27
+            $config['query'] = new InternalSchemaQueryObject(['name' => $this->getName($config).'Query']);
28 28
         }
29 29
         if (!array_key_exists('mutation', $config)) {
30
-            $config['mutation'] = new InternalSchemaMutationObject(['name' => $this->getName($config) . 'Mutation']);
30
+            $config['mutation'] = new InternalSchemaMutationObject(['name' => $this->getName($config).'Mutation']);
31 31
         }
32 32
         if (!array_key_exists('types', $config)) {
33 33
           $config['types'] = [];
@@ -80,6 +80,6 @@  discard block
 block discarded – undo
80 80
     {
81 81
         $defaultName = 'RootSchema';
82 82
 
83
-        return isset($config["name"])? $config["name"] : $defaultName;
83
+        return isset($config["name"]) ? $config["name"] : $defaultName;
84 84
     }
85 85
 }
Please login to merge, or discard this patch.