Completed
Push — master ( 0b7ef3...f36d8f )
by Alexandr
03:51
created
src/Type/TypeFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,13 +35,13 @@
 block discarded – undo
35 35
             if (empty(self::$objectsHash[$type])) {
36 36
                 $name = ucfirst($type);
37 37
 
38
-                $className                = 'Youshido\GraphQL\Type\Scalar\\' . $name . 'Type';
38
+                $className                = 'Youshido\GraphQL\Type\Scalar\\'.$name.'Type';
39 39
                 self::$objectsHash[$type] = new $className();
40 40
             }
41 41
 
42 42
             return self::$objectsHash[$type];
43 43
         } else {
44
-            throw new ConfigurationException('Configuration problem with type ' . $type);
44
+            throw new ConfigurationException('Configuration problem with type '.$type);
45 45
         }
46 46
     }
47 47
 
Please login to merge, or discard this patch.
Tests/Library/Type/ScalarExtendTypeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
                 'title' => new StringType(),
28 28
             ]
29 29
         ]);
30
-        $processor  = new Processor(new Schema([
30
+        $processor = new Processor(new Schema([
31 31
                 'query' => new ObjectType([
32 32
                     'name'   => 'RootQueryType',
33 33
                     'fields' => [
34 34
                         'latestReport' => [
35 35
                             'type'    => $reportType,
36
-                            'resolve' => function () {
36
+                            'resolve' => function() {
37 37
                                 return [
38 38
                                     'title' => 'Accident #1',
39 39
                                     'time'  => '13:30:12',
Please login to merge, or discard this patch.