Completed
Push — master ( 85a3aa...cbfed7 )
by Rafael
05:09
created
Category
src/Type/AbstractInterfaceType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@
 block discarded – undo
46 46
             [
47 47
                 'name' => $definition->getName(),
48 48
                 'description' => $definition->getDescription(),
49
-                'fields' => function () {
49
+                'fields' => function() {
50 50
                     return $this->resolveFields();
51 51
                 },
52
-                'resolveType' => function ($value) {
52
+                'resolveType' => function($value) {
53 53
                     foreach ($this->definition->getImplementors() as $implementor) {
54 54
                         $implementorDef = $this->definitionManager->getType($implementor);
55 55
                         //ClassUtils::getClass is required to avoid proxies
Please login to merge, or discard this patch.
src/Type/AbstractInputObjectType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             [
40 40
                 'name' => $definition->getName(),
41 41
                 'description' => $definition->getDescription(),
42
-                'fields' => function () {
42
+                'fields' => function() {
43 43
                     return $this->resolveFields();
44 44
                 },
45 45
                 'resolveField' => new ObjectFieldResolver($definition),
Please login to merge, or discard this patch.
src/Type/AbstractObjectType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,14 +47,14 @@
 block discarded – undo
47 47
             [
48 48
                 'name' => $definition->getName(),
49 49
                 'description' => $definition->getDescription(),
50
-                'fields' => function () {
50
+                'fields' => function() {
51 51
                     return $this->resolveFields();
52 52
                 },
53
-                'interfaces' => function () {
53
+                'interfaces' => function() {
54 54
                     return $this->resolveInterfaces();
55 55
                 },
56 56
                 'resolveField' => new ObjectFieldResolver($definition),
57
-                'isTypeOf' => function ($value, $context, ResolveInfo $info) {
57
+                'isTypeOf' => function($value, $context, ResolveInfo $info) {
58 58
                     //TODO: implement this
59 59
                 },
60 60
             ]
Please login to merge, or discard this patch.
src/Type/MutationType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $defaults = [
26 26
             'name' => 'Mutation',
27
-            'fields' => function () {
27
+            'fields' => function() {
28 28
                 $mutations = [];
29 29
                 foreach ($this->manager->allMutations() as $query) {
30 30
                     $mutations[$query->getName()] = $this->getQueryConfig($query);
Please login to merge, or discard this patch.
src/Type/QueryType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     {
37 37
         $defaults = [
38 38
             'name' => 'Query',
39
-            'fields' => function () {
39
+            'fields' => function() {
40 40
                 $queries = [];
41 41
                 foreach ($this->manager->allQueries() as $query) {
42 42
                     $queries[$query->getName()] = $this->getQueryConfig($query);
Please login to merge, or discard this patch.
src/DefinitionLoader/AnnotationDefinitionExtractor/ActionExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
                     $field->setNonNullList($this->isTypeNonNullList($arg->type));
119 119
                     $inputType->prependField($field);
120 120
                 }
121
-                $annotation->args = [];//clear
121
+                $annotation->args = []; //clear
122 122
             }
123 123
 
124 124
             if (null !== $inputType) {
Please login to merge, or discard this patch.
src/Model/ConstraintViolation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @return ConstraintViolation
115 115
      */
116
-    public function setPropertyPath(?string $path): ConstraintViolation
116
+    public function setPropertyPath(?string $path) : ConstraintViolation
117 117
     {
118 118
         $this->propertyPath = $path;
119 119
 
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      *
195 195
      * @return ConstraintViolation
196 196
      */
197
-    public function setPlural(?int $plural): ConstraintViolation
197
+    public function setPlural(?int $plural) : ConstraintViolation
198 198
     {
199 199
         $this->plural = $plural;
200 200
 
Please login to merge, or discard this patch.
src/Model/UpdateNodePayload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     /**
66 66
      * @return null|string
67 67
      */
68
-    public function getClientMutationId():?string
68
+    public function getClientMutationId(): ?string
69 69
     {
70 70
         return $this->clientMutationId;
71 71
     }
Please login to merge, or discard this patch.
src/Definition/DeprecateTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      *
26 26
      * @return DeprecateInterface
27 27
      */
28
-    public function setDeprecationReason(?string $deprecationReason): DeprecateInterface
28
+    public function setDeprecationReason(?string $deprecationReason) : DeprecateInterface
29 29
     {
30 30
         $this->deprecationReason = $deprecationReason;
31 31
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * @return string
45 45
      */
46
-    public function getDeprecationReason():?string
46
+    public function getDeprecationReason(): ?string
47 47
     {
48 48
         return $this->deprecationReason;
49 49
     }
Please login to merge, or discard this patch.