Completed
Pull Request — master (#204)
by Ryan
11:34
created
src/Type/ListType/AbstractListType.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
  * Date: 03.12.15.
15 15
  */
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
     public function parseValue($value)
83 83
     {
84
-        foreach ((array) $value as $keyValue => $valueItem) {
84
+        foreach ((array)$value as $keyValue => $valueItem) {
85 85
             $value[$keyValue] = $this->getItemType()->parseValue($valueItem);
86 86
         }
87 87
 
Please login to merge, or discard this patch.
src/Type/ListType/ListType.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-youshido project.
15 15
  *
Please login to merge, or discard this patch.
src/Type/InputObject/AbstractInputObjectType.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
  * This file is a part of graphql-youshido project.
15 15
  *
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         }
75 75
 
76 76
         $typeConfig     = $this->getConfig();
77
-        $requiredFields = \array_filter($typeConfig->getFields(), static function (InputFieldInterface $field) {
77
+        $requiredFields = \array_filter($typeConfig->getFields(), static function(InputFieldInterface $field) {
78 78
             return TypeMap::KIND_NON_NULL === $field->getType()->getKind();
79 79
         });
80 80
 
Please login to merge, or discard this patch.
src/Type/InputObject/InputObjectType.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-youshido project.
15 15
  *
Please login to merge, or discard this patch.
src/Type/Traits/AutoNameTrait.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/Type/Traits/FieldsArgumentsAwareObjectTrait.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/Type/Traits/FieldsAwareObjectTrait.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/Type/Traits/ArgumentsAwareObjectTrait.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/Config/AbstractConfig.php 1 patch
Spacing   +3 added lines, -3 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
  * This file is a part of graphql-youshido project.
15 15
  *
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             return $this->get(\lcfirst(\mb_substr($method, 2)));
80 80
         }
81 81
 
82
-        throw new \Exception('Call to undefined method ' . $method);
82
+        throw new \Exception('Call to undefined method '.$method);
83 83
     }
84 84
 
85 85
     public function validate(): void
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $validator = ConfigValidator::getInstance();
88 88
 
89 89
         if (!$validator->validate($this->data, $this->getContextRules(), $this->extraFieldsAllowed)) {
90
-            throw new ConfigurationException('Config is not valid for ' . ($this->contextObject ? \get_class($this->contextObject) : null) . "\n" . \implode("\n", $validator->getErrorsArray(false)));
90
+            throw new ConfigurationException('Config is not valid for '.($this->contextObject ? \get_class($this->contextObject) : null)."\n".\implode("\n", $validator->getErrorsArray(false)));
91 91
         }
92 92
     }
93 93
 
Please login to merge, or discard this patch.