Completed
Push — master ( cbfed7...c39fb6 )
by Rafael
05:06
created
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/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/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/DeprecateInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
      *
22 22
      * @return DeprecateInterface
23 23
      */
24
-    public function setDeprecationReason(?string $deprecationReason): DeprecateInterface;
24
+    public function setDeprecationReason(?string $deprecationReason) : DeprecateInterface;
25 25
 
26 26
     /**
27 27
      * @return string
28 28
      */
29
-    public function getDeprecationReason():?string;
29
+    public function getDeprecationReason(): ?string;
30 30
 
31 31
     /**
32 32
      * @return bool
Please login to merge, or discard this patch.
src/Definition/ClassAwareDefinitionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,5 +25,5 @@
 block discarded – undo
25 25
      *
26 26
      * @return ClassAwareDefinitionInterface
27 27
      */
28
-    public function setClass(?string $class): ClassAwareDefinitionInterface;
28
+    public function setClass(?string $class) : ClassAwareDefinitionInterface;
29 29
 }
Please login to merge, or discard this patch.
src/Type/AbstractInputObjectType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
             [
46 46
                 'name' => $definition->getName(),
47 47
                 'description' => $definition->getDescription(),
48
-                'fields' => function () {
48
+                'fields' => function() {
49 49
                     return $this->resolveFields();
50 50
                 },
51
-                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
51
+                'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) {
52 52
                     $resolver = new ObjectFieldResolver($this->container, $this->manager, $this->definition);
53 53
 
54 54
                     return $resolver($root, $args, $context, $resolveInfo);
Please login to merge, or discard this patch.
src/Type/AbstractObjectType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,18 +44,18 @@
 block discarded – undo
44 44
             [
45 45
                 'name' => $definition->getName(),
46 46
                 'description' => $definition->getDescription(),
47
-                'fields' => function () {
47
+                'fields' => function() {
48 48
                     return $this->resolveFields();
49 49
                 },
50
-                'interfaces' => function () {
50
+                'interfaces' => function() {
51 51
                     return $this->resolveInterfaces();
52 52
                 },
53
-                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
53
+                'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) {
54 54
                     $resolver = new ObjectFieldResolver($this->container, $this->manager, $this->definition);
55 55
 
56 56
                     return $resolver($root, $args, $context, $resolveInfo);
57 57
                 },
58
-                'isTypeOf' => function ($value, $context, ResolveInfo $info) {
58
+                'isTypeOf' => function($value, $context, ResolveInfo $info) {
59 59
                     //TODO: implement this
60 60
                 },
61 61
             ]
Please login to merge, or discard this patch.