Completed
Push — utc-datetime-storing ( 6fbf75...e1fcef )
by Kamil
25:51
created
src/Sylius/Behat/Page/SymfonyPageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
      * @param array $requiredUrlParameters
28 28
      *
29 29
      * @throws UnexpectedPageException
30
+     * @return void
30 31
      */
31 32
     public function verifyRoute(array $requiredUrlParameters = []);
32 33
 }
Please login to merge, or discard this patch.
Promotion/Generator/PromotionCouponGeneratorInstructionInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param int|null $amount
28
+     * @return void
28 29
      */
29 30
     public function setAmount(?int $amount): void;
30 31
 
@@ -35,6 +36,7 @@  discard block
 block discarded – undo
35 36
 
36 37
     /**
37 38
      * @param int|null $codeLength
39
+     * @return void
38 40
      */
39 41
     public function setCodeLength(?int $codeLength): void;
40 42
 
@@ -45,6 +47,7 @@  discard block
 block discarded – undo
45 47
 
46 48
     /**
47 49
      * @param \DateTimeInterface $expiresAt
50
+     * @return void
48 51
      */
49 52
     public function setExpiresAt(?\DateTimeInterface $expiresAt): void;
50 53
 
@@ -55,6 +58,7 @@  discard block
 block discarded – undo
55 58
 
56 59
     /**
57 60
      * @param int $usageLimit
61
+     * @return void
58 62
      */
59 63
     public function setUsageLimit(int $usageLimit): void;
60 64
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Promotion\Generator;
15 15
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * @param int|null $amount
28 28
      */
29
-    public function setAmount(?int $amount): void;
29
+    public function setAmount(?int $amount) : void;
30 30
 
31 31
     /**
32 32
      * @return int|null
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @param int|null $codeLength
38 38
      */
39
-    public function setCodeLength(?int $codeLength): void;
39
+    public function setCodeLength(?int $codeLength) : void;
40 40
 
41 41
     /**
42 42
      * @return \DateTimeInterface|null
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * @param \DateTimeInterface $expiresAt
48 48
      */
49
-    public function setExpiresAt(?\DateTimeInterface $expiresAt): void;
49
+    public function setExpiresAt(?\DateTimeInterface $expiresAt) : void;
50 50
 
51 51
     /**
52 52
      * @return int|null
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/ParametersParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ResourceBundle\Controller;
15 15
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         if (0 === strpos($parameter, '!!')) {
82 82
             $parameter = explode(' ', $parameter);
83 83
 
84
-            $parser = trim($parameter[0], '!').'val';
84
+            $parser = trim($parameter[0], '!') . 'val';
85 85
 
86 86
             Assert::oneOf($parser, ['intval', 'floatval', 'doubleval'], 'Variable can be parsed only to int, float or double.');
87 87
 
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Definition/Field.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Grid\Definition;
15 15
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
      * @param string|null $sortable
154 154
      */
155
-    public function setSortable(?string $sortable): void
155
+    public function setSortable(?string $sortable) : void
156 156
     {
157 157
         $this->sortable = $sortable;
158 158
     }
Please login to merge, or discard this patch.
Component/Promotion/Generator/PromotionCouponGeneratorInstruction.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Promotion\Generator;
15 15
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * {@inheritdoc}
51 51
      */
52
-    public function setAmount(?int $amount): void
52
+    public function setAmount(?int $amount) : void
53 53
     {
54 54
         $this->amount = $amount;
55 55
     }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * {@inheritdoc}
67 67
      */
68
-    public function setCodeLength(?int $codeLength): void
68
+    public function setCodeLength(?int $codeLength) : void
69 69
     {
70 70
         $this->codeLength = $codeLength;
71 71
     }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * {@inheritdoc}
83 83
      */
84
-    public function setExpiresAt(?\DateTimeInterface $expiresAt): void
84
+    public function setExpiresAt(?\DateTimeInterface $expiresAt) : void
85 85
     {
86 86
         $this->expiresAt = $expiresAt;
87 87
     }
Please login to merge, or discard this patch.