Completed
Pull Request — master (#204)
by Ryan
11:34
created
src/Type/TypeService.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 project.
15 15
  *
@@ -159,10 +159,10 @@  discard block
 block discarded – undo
159 159
             $getter = $path;
160 160
 
161 161
             if ('is' !== \mb_substr($path, 0, 2)) {
162
-                $getter = 'get' . self::classify($path);
162
+                $getter = 'get'.self::classify($path);
163 163
 
164 164
                 if (!\is_callable([$data, $getter])) {
165
-                    $getter = 'is' . self::classify($path);
165
+                    $getter = 'is'.self::classify($path);
166 166
                 }
167 167
 
168 168
                 if (!\is_callable([$data, $getter])) {
Please login to merge, or discard this patch.
src/Type/SchemaTypesList.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 PhpStorm project.
15 15
  */
Please login to merge, or discard this patch.
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.