Completed
Pull Request — master (#37)
by Sebastian
03:52
created
examples/02_blog_inline/index.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 /** @var ObjectType $rootQueryType */
14 14
 
15 15
 $schema = new Schema([
16
-  'query' => $rootQueryType
16
+    'query' => $rootQueryType
17 17
 ]);
18 18
 
19 19
 (new SchemaValidator())->validate($schema);
Please login to merge, or discard this patch.
examples/01_sandbox/index.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,17 +10,17 @@
 block discarded – undo
10 10
 require_once __DIR__ . '/../../vendor/autoload.php';
11 11
 
12 12
 $schema = new Schema([
13
-  'query' => new ObjectType([
13
+    'query' => new ObjectType([
14 14
     'name'   => 'RootQueryType',
15 15
     'fields' => [
16
-      'currentTime' => [
16
+        'currentTime' => [
17 17
         'type'    => new StringType(),
18 18
         'resolve' => function () {
19
-          return date('Y-m-d H:ia');
19
+            return date('Y-m-d H:ia');
20 20
         }
21
-      ]
21
+        ]
22 22
     ]
23
-  ])
23
+    ])
24 24
 ]);
25 25
 
26 26
 (new SchemaValidator())->validate($schema);
Please login to merge, or discard this patch.