Completed
Push — master ( fe9d21...06b28a )
by Kirill
04:29
created
src/Compiler/Definition/DirectiveDelegate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     private function bootLocations(DirectiveDefinition $directive): void
46 46
     {
47 47
         foreach ($this->getLocations($directive) as $offset => $location) {
48
-            $this->transaction($location, function (DirectiveLocation $location) use ($directive): void {
48
+            $this->transaction($location, function(DirectiveLocation $location) use ($directive): void {
49 49
                 $this->verifyLocation($location);
50 50
                 $this->verifyDuplication($directive, $location);
51 51
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     {
90 90
         $isValid = $location->isExecutable() || $location->isPrivate();
91 91
 
92
-        if (! $isValid) {
92
+        if (!$isValid) {
93 93
             $error = \sprintf('Invalid directive location %s', $location);
94 94
 
95 95
             throw $this->error(new TypeConflictException($error))->in($location);
Please login to merge, or discard this patch.