Completed
Push — master ( be4243...1976df )
by Ori
19:42
created
src/Fields/FieldsFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
             throw new FieldValidationException([
67 67
                 new SchemaValidationError(
68 68
                     SchemaValidationError::SCHEMA_VIOLATION,
69
-                    'Could not find a valid field for descriptor: '.json_encode($descriptor)),
69
+                    'Could not find a valid field for descriptor: ' . json_encode($descriptor)),
70 70
             ]);
71 71
         }
72 72
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         throw new FieldValidationException([
91 91
             new SchemaValidationError(
92 92
                 SchemaValidationError::SCHEMA_VIOLATION,
93
-                'Could not find a valid field for value: '.json_encode($val)),
93
+                'Could not find a valid field for value: ' . json_encode($val)),
94 94
         ]);
95 95
     }
96 96
 }
Please login to merge, or discard this patch.
src/Schema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function __construct($descriptor = null)
24 24
     {
25 25
         if (is_null($descriptor)) {
26
-            $this->descriptor = (object) ['fields' => []];
26
+            $this->descriptor = (object)['fields' => []];
27 27
         } else {
28 28
             if (Utils::isJsonString($descriptor)) {
29 29
                 // it's a json encoded string
Please login to merge, or discard this patch.