Completed
Push — master ( 71d8db...83e409 )
by Kirill
43:48
created
src/Compiler.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     {
146 146
         $this->load($document);
147 147
 
148
-        $build = function (Definition $definition): void {
148
+        $build = function(Definition $definition): void {
149 149
             $this->stack->push($definition);
150 150
 
151 151
             if ($definition instanceof Compilable) {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
                 $this->typeCoercion->apply($definition);
157 157
             }
158 158
 
159
-            if (! ($definition instanceof StandardType)) {
159
+            if (!($definition instanceof StandardType)) {
160 160
                 $this->typeValidator->group(Definitions::class)->validate($definition);
161 161
             }
162 162
 
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 
218 218
         /** @var TypeDefinition $type */
219 219
         foreach ($document->getTypeDefinitions() as $type) {
220
-            if (! $this->loader->has($type->getName())) {
220
+            if (!$this->loader->has($type->getName())) {
221 221
                 $this->stack->push($type);
222 222
                 $this->loader->register($type);
223 223
                 $this->stack->pop();
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      */
237 237
     private function onCompile(): \Closure
238 238
     {
239
-        return function (Readable $readable): Document {
239
+        return function(Readable $readable): Document {
240 240
             $ast = $this->parser->parse($readable);
241 241
 
242 242
             return $this->complete(new DocumentBuilder($ast, $readable, $this));
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     public function getPersister(): Storage
277 277
     {
278 278
         \trigger_error(
279
-            __METHOD__ . ' was renamed to getStorage and will be deleted on next release',
279
+            __METHOD__.' was renamed to getStorage and will be deleted on next release',
280 280
             \E_USER_DEPRECATED
281 281
         );
282 282
 
Please login to merge, or discard this patch.