Completed
Push — master ( df819b...fcf75e )
by Rafael
04:04
created
src/Definition/Traits/DefinitionTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @return DefinitionInterface
40 40
      */
41
-    public function setName(?string $name): DefinitionInterface
41
+    public function setName(?string $name) : DefinitionInterface
42 42
     {
43 43
         $this->name = $name;
44 44
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @return DefinitionInterface
60 60
      */
61
-    public function setDescription(?string $description): DefinitionInterface
61
+    public function setDescription(?string $description) : DefinitionInterface
62 62
     {
63 63
         $this->description = $description;
64 64
 
Please login to merge, or discard this patch.
src/Definition/DefinitionInterface.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 DefinitionInterface
27 27
      */
28
-    public function setName(?string $name): DefinitionInterface;
28
+    public function setName(?string $name) : DefinitionInterface;
29 29
 
30 30
     /**
31 31
      * @return string
@@ -37,5 +37,5 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return DefinitionInterface
39 39
      */
40
-    public function setDescription(?string $description): DefinitionInterface;
40
+    public function setDescription(?string $description) : DefinitionInterface;
41 41
 }
Please login to merge, or discard this patch.
src/Definition/ArgumentDefinition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
      *
162 162
      * @return ArgumentDefinition
163 163
      */
164
-    public function setInternalName(?string $internalName): ArgumentDefinition
164
+    public function setInternalName(?string $internalName) : ArgumentDefinition
165 165
     {
166 166
         $this->internalName = $internalName;
167 167
 
Please login to merge, or discard this patch.
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/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/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/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.