Completed
Pull Request — master (#204)
by Ryan
11:34
created
src/Execution/Container/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of GraphQL project.
15 15
  *
Please login to merge, or discard this patch.
src/Execution/DeferredResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * This file is a part of GraphQL project.
15 15
  */
Please login to merge, or discard this patch.
src/Execution/Visitor/AbstractQueryVisitor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Abstract query visitor.
15 15
  *
Please login to merge, or discard this patch.
src/Execution/Visitor/MaxComplexityQueryVisitor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * Concrete implementation of query visitor.
15 15
  *
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $this->memo += $cost;
64 64
 
65 65
         if ($this->memo > $this->maxScore) {
66
-            throw new \Exception('query exceeded max allowed complexity of ' . $this->maxScore);
66
+            throw new \Exception('query exceeded max allowed complexity of '.$this->maxScore);
67 67
         }
68 68
 
69 69
         return $cost;
Please login to merge, or discard this patch.
src/Execution/Request.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 23.11.15.
15 15
  */
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      */
190 190
     public function hasQueries()
191 191
     {
192
-        return (bool) \count($this->queries);
192
+        return (bool)\count($this->queries);
193 193
     }
194 194
 
195 195
     /**
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      */
198 198
     public function hasMutations()
199 199
     {
200
-        return (bool) \count($this->mutations);
200
+        return (bool)\count($this->mutations);
201 201
     }
202 202
 
203 203
     /**
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
      */
206 206
     public function hasFragments()
207 207
     {
208
-        return (bool) \count($this->fragments);
208
+        return (bool)\count($this->fragments);
209 209
     }
210 210
 
211 211
     /**
Please login to merge, or discard this patch.
src/Execution/ResolveInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of GraphQL project.
15 15
  *
Please login to merge, or discard this patch.
src/Execution/DeferredResolverInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * This file is a part of GraphQL project.
15 15
  */
Please login to merge, or discard this patch.
src/Execution/Context/ExecutionContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of GraphQL project.
15 15
  *
Please login to merge, or discard this patch.
src/Execution/Context/ExecutionContextInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 5/20/16.
15 15
  */
Please login to merge, or discard this patch.