Passed
Push — master ( c39fb6...9e9a0d )
by Rafael
04:42
created
src/Definition/Traits/NodeAwareDefinitionTrait.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 mixed
27 27
      */
28
-    public function getNode():?string
28
+    public function getNode(): ?string
29 29
     {
30 30
         return $this->node;
31 31
     }
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @return NodeAwareDefinitionInterface
37 37
      */
38
-    public function setNode(?string $node): NodeAwareDefinitionInterface
38
+    public function setNode(?string $node) : NodeAwareDefinitionInterface
39 39
     {
40 40
         $this->node = $node;
41 41
 
Please login to merge, or discard this patch.
src/Definition/ObjectDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * {@inheritDoc}
51 51
      */
52
-    public function setNode(?string $node): NodeAwareDefinitionInterface
52
+    public function setNode(?string $node) : NodeAwareDefinitionInterface
53 53
     {
54 54
         $this->setClass($node);
55 55
 
Please login to merge, or discard this patch.
src/Definition/NodeAwareDefinitionInterface.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
      * @return NodeAwareDefinitionInterface
22 22
      */
23
-    public function setNode(?string $node): NodeAwareDefinitionInterface;
23
+    public function setNode(?string $node) : NodeAwareDefinitionInterface;
24 24
 
25 25
     /**
26 26
      * @return null|string
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/Test/FixtureLoader/Cache/CachedFixtureExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     {
63 63
         $executor = $this;
64 64
         $this->getObjectManager()->transactional(
65
-            function () use ($executor, $fixtures, $append) {
65
+            function() use ($executor, $fixtures, $append) {
66 66
                 if ($append === false) {
67 67
                     $executor->purge();
68 68
                 }
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
@@ -45,18 +45,18 @@
 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
-                'interfaces' => function () {
51
+                'interfaces' => function() {
52 52
                     return $this->resolveInterfaces();
53 53
                 },
54
-                'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) {
54
+                'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) {
55 55
                     $resolver = new ObjectFieldResolver($this->container, $this->endpoint, $this->definition);
56 56
 
57 57
                     return $resolver($root, $args, $context, $resolveInfo);
58 58
                 },
59
-                'isTypeOf' => function ($value, $context, ResolveInfo $info) {
59
+                'isTypeOf' => function($value, $context, ResolveInfo $info) {
60 60
                     //TODO: implement this
61 61
                 },
62 62
             ]
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.