Completed
Push — master ( 3aac06...366db0 )
by Adrien
01:53
created
src/Annotation/Field.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine\Annotation;
6 6
 
Please login to merge, or discard this patch.
src/Types.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine;
6 6
 
Please login to merge, or discard this patch.
src/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine;
6 6
 
Please login to merge, or discard this patch.
src/Annotation/Argument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine\Annotation;
6 6
 
Please login to merge, or discard this patch.
src/Annotation/Exclude.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine\Annotation;
6 6
 
Please login to merge, or discard this patch.
src/DefaultFieldResolver.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine;
6 6
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param string $fieldName
38 38
      * @return mixed
39 39
      */
40
-    private function resolveObject($source, ?array $args, string $fieldName)
40
+    private function resolveObject($source, ? array $args, string $fieldName)
41 41
     {
42 42
         $getter = $this->getGetter($source, $fieldName);
43 43
         if ($getter) {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param string $name
69 69
      * @return string
70 70
      */
71
-    private function getGetter($source, string $name): ?ReflectionMethod
71
+    private function getGetter($source, string $name): ? ReflectionMethod
72 72
     {
73 73
         if (!preg_match('~^(is|has)[A-Z]~', $name)) {
74 74
             $name = 'get' . ucfirst($name);
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * @param array $args
92 92
      * @return array
93 93
      */
94
-    private function orderArguments(ReflectionMethod $method, ?array $args): array
94
+    private function orderArguments(ReflectionMethod $method, ? array $args) : array
95 95
     {
96 96
         $result = [];
97 97
         foreach ($method->getParameters() as $param) {
Please login to merge, or discard this patch.
src/Definition/EntityIDType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine\Definition;
6 6
 
Please login to merge, or discard this patch.
src/Utils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine;
6 6
 
Please login to merge, or discard this patch.
src/Factory/InputFieldsConfigurationFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 
7 7
 use GraphQL\Doctrine\Annotation\Input;
8 8
 use GraphQL\Doctrine\DocBlockReader;
9
-use GraphQL\Doctrine\Types;
10 9
 use GraphQL\Type\Definition\Type;
11 10
 use ReflectionMethod;
12 11
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace GraphQL\Doctrine\Factory;
6 6
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      * @param ReflectionMethod $method
26 26
      * @return array
27 27
      */
28
-    protected function methodToConfiguration(ReflectionMethod $method): ?array
28
+    protected function methodToConfiguration(ReflectionMethod $method): ? array
29 29
     {
30 30
         // Silently ignore setter with anything than exactly 1 parameter
31 31
         $params = $method->getParameters();
Please login to merge, or discard this patch.