Passed
Push — master ( 4ce16e...41f226 )
by Rafael
05:02
created
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/ExecutableDefinitionInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * {@inheritDoc}
22 22
      */
23
-    public function getResolver():?string;
23
+    public function getResolver(): ?string;
24 24
 
25 25
     /**
26 26
      * {@inheritDoc}
Please login to merge, or discard this patch.
src/Definition/Loader/Annotation/ObjectTypeAnnotationParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
         //sort by priority
292 292
         usort(
293 293
             $decorators,
294
-            function ($service1, $service2) {
294
+            function($service1, $service2) {
295 295
                 list($priority1) = $service1;
296 296
                 list($priority2) = $service2;
297 297
 
Please login to merge, or discard this patch.
src/Definition/Registry/Endpoint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      *
82 82
      * @return null|string
83 83
      */
84
-    public function getClassForType(string $type):?string
84
+    public function getClassForType(string $type): ?string
85 85
     {
86 86
         if (isset($this->typeMap[$type])) {
87 87
             return $this->typeMap[$type];
Please login to merge, or discard this patch.
src/Pagination/DoctrineOffsetCursorPaginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
         $cursorOffset = $offset - 1;
46 46
         foreach ($results as $result) {
47
-            $cursorOffset ++;
47
+            $cursorOffset++;
48 48
 
49 49
             if (!$this->connection->getPageInfo()->getStartCursor()) {
50 50
                 $this->connection->getPageInfo()->setStartCursor($this->encodeCursor($offset));
Please login to merge, or discard this patch.
src/Component/TaggedServices/TaggedServices.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
         //sort by priority
94 94
         usort(
95 95
             $orderedSpecifications,
96
-            function ($tagSpecification1, $tagSpecification2) {
96
+            function($tagSpecification1, $tagSpecification2) {
97 97
                 list($priority1) = $tagSpecification1;
98 98
                 list($priority2) = $tagSpecification2;
99 99
 
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->endpoint->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
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     {
38 38
         $defaults = [
39 39
             'name' => 'Query',
40
-            'fields' => function () {
40
+            'fields' => function() {
41 41
                 $queries = [];
42 42
                 foreach ($this->endpoint->allQueries() as $query) {
43 43
                     $queries[$query->getName()] = $this->getQueryConfig($query);
Please login to merge, or discard this patch.
src/Mutation/AbstractMutationResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
         if ($formBuilder) {
41 41
             $formBuilder->addEventSubscriber($this);
42 42
 
43
-            $extensionExecutor = function ($method) {
44
-                return function (FormEvent $event) use ($method) {
43
+            $extensionExecutor = function($method) {
44
+                return function(FormEvent $event) use ($method) {
45 45
                     foreach ($this->extensions as $extension) {
46 46
                         return call_user_func_array([$extension, $method], [$event]);
47 47
                     }
Please login to merge, or discard this patch.