Test Failed
Push — master ( 83e409...0da13d )
by Kirill
03:43
created
src/Compiler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     {
147 147
         $this->load($document);
148 148
 
149
-        $build = function (Definition $definition): void {
149
+        $build = function(Definition $definition): void {
150 150
             $this->stack->push($definition);
151 151
 
152 152
             if ($definition instanceof Compilable) {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
                 $this->typeCoercion->apply($definition);
158 158
             }
159 159
 
160
-            if (! ($definition instanceof StandardType)) {
160
+            if (!($definition instanceof StandardType)) {
161 161
                 $this->typeValidator->group(Definitions::class)->validate($definition);
162 162
             }
163 163
 
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      */
229 229
     private function onCompile(): \Closure
230 230
     {
231
-        return function (Readable $readable): Document {
231
+        return function(Readable $readable): Document {
232 232
             $ast = $this->parser->parse($readable);
233 233
 
234 234
             return $this->complete(new DocumentBuilder($ast, $readable, $this));
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
     public function getPersister(): Storage
269 269
     {
270 270
         \trigger_error(
271
-            __METHOD__ . ' was renamed to getStorage and will be deleted on next release',
271
+            __METHOD__.' was renamed to getStorage and will be deleted on next release',
272 272
             \E_USER_DEPRECATED
273 273
         );
274 274
 
Please login to merge, or discard this patch.