Completed
Push — travis-xenial ( 7a72dd...c18ce8 )
by Kamil
12:54 queued 05:28
created
src/Sylius/Component/Product/Model/ProductOptionValueInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -20,16 +20,28 @@
 block discarded – undo
20 20
 
21 21
 interface ProductOptionValueInterface extends ResourceInterface, CodeAwareInterface, TranslatableInterface
22 22
 {
23
+    /**
24
+     * @return ProductOptionInterface|null
25
+     */
23 26
     public function getOption(): ?ProductOptionInterface;
24 27
 
28
+    /**
29
+     * @return void
30
+     */
25 31
     public function setOption(?ProductOptionInterface $option): void;
26 32
 
27 33
     public function getValue(): ?string;
28 34
 
35
+    /**
36
+     * @return void
37
+     */
29 38
     public function setValue(?string $value): void;
30 39
 
31 40
     public function getOptionCode(): ?string;
32 41
 
42
+    /**
43
+     * @return string
44
+     */
33 45
     public function getName(): ?string;
34 46
 
35 47
     /**
Please login to merge, or discard this patch.
Component/Promotion/Model/PromotionCouponAwarePromotionSubjectInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,5 +15,8 @@
 block discarded – undo
15 15
 
16 16
 interface PromotionCouponAwarePromotionSubjectInterface extends PromotionSubjectInterface
17 17
 {
18
+    /**
19
+     * @return PromotionCouponInterface|null
20
+     */
18 21
     public function getPromotionCoupon(): ?PromotionCouponInterface;
19 22
 }
Please login to merge, or discard this patch.
etc/psalm/ZendPriorityQueueStub.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * @param mixed $datum
43 43
      *
44
-     * @return bool False if the item was not found, true otherwise.
44
+     * @return boolean|null False if the item was not found, true otherwise.
45 45
      *
46 46
      * @psalm-param T $datum
47 47
      */
48 48
     public function remove($datum) { }
49 49
 
50 50
     /**
51
-     * @return bool
51
+     * @return boolean|null
52 52
      */
53 53
     public function isEmpty() { }
54 54
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     /**
106 106
      * @param mixed $datum
107 107
      *
108
-     * @return bool
108
+     * @return boolean|null
109 109
      *
110 110
      * @psalm-param T $datum
111 111
      */
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     /**
115 115
      * @param int $priority
116 116
      *
117
-     * @return bool
117
+     * @return boolean|null
118 118
      */
119 119
     public function hasPriority($priority) { }
120 120
 
Please login to merge, or discard this patch.
Braces   +42 added lines, -14 removed lines patch added patch discarded remove patch
@@ -36,7 +36,9 @@  discard block
 block discarded – undo
36 36
      * @psalm-param T $data
37 37
      * @psalm-return PriorityQueue<T>
38 38
      */
39
-    public function insert($data, $priority = 1) { }
39
+    public function insert($data, $priority = 1)
40
+    {
41
+}
40 42
 
41 43
     /**
42 44
      * @param mixed $datum
@@ -45,53 +47,71 @@  discard block
 block discarded – undo
45 47
      *
46 48
      * @psalm-param T $datum
47 49
      */
48
-    public function remove($datum) { }
50
+    public function remove($datum)
51
+    {
52
+}
49 53
 
50 54
     /**
51 55
      * @return bool
52 56
      */
53
-    public function isEmpty() { }
57
+    public function isEmpty()
58
+    {
59
+}
54 60
 
55 61
     /**
56 62
      * @return int
57 63
      */
58
-    public function count() { }
64
+    public function count()
65
+    {
66
+}
59 67
 
60 68
     /**
61 69
      * @return mixed
62 70
      */
63
-    public function top() { }
71
+    public function top()
72
+    {
73
+}
64 74
 
65 75
     /**
66 76
      * @return mixed
67 77
      */
68
-    public function extract() { }
78
+    public function extract()
79
+    {
80
+}
69 81
 
70 82
     /**
71 83
      * @return SplPriorityQueue
72 84
      *
73 85
      * @psalm-return SplPriorityQueue<T>
74 86
      */
75
-    public function getIterator() { }
87
+    public function getIterator()
88
+    {
89
+}
76 90
 
77 91
     /**
78 92
      * @return string
79 93
      */
80
-    public function serialize() { }
94
+    public function serialize()
95
+    {
96
+}
81 97
 
82 98
     /**
83 99
      * @param string $data
84 100
      *
85 101
      * @return void
86 102
      */
87
-    public function unserialize($data) { }
103
+    public function unserialize($data)
104
+    {
105
+}
88 106
 
89 107
     /**
90 108
      * @param int $flag
91 109
      *
92 110
      * @return array
93 111
      */
94
-    public function toArray($flag = self::EXTR_DATA) { }
112
+    public function toArray($flag = self::EXTR_DATA)
113
+    {
114
+}
95 115
 
96 116
     /**
97 117
      * @param string $class
@@ -100,7 +120,9 @@  discard block
 block discarded – undo
100 120
      *
101 121
      * @psalm-return PriorityQueue<T>
102 122
      */
103
-    public function setInternalQueueClass($class) { }
123
+    public function setInternalQueueClass($class)
124
+    {
125
+}
104 126
 
105 127
     /**
106 128
      * @param mixed $datum
@@ -109,17 +131,23 @@  discard block
 block discarded – undo
109 131
      *
110 132
      * @psalm-param T $datum
111 133
      */
112
-    public function contains($datum) { }
134
+    public function contains($datum)
135
+    {
136
+}
113 137
 
114 138
     /**
115 139
      * @param int $priority
116 140
      *
117 141
      * @return bool
118 142
      */
119
-    public function hasPriority($priority) { }
143
+    public function hasPriority($priority)
144
+    {
145
+}
120 146
 
121 147
     /**
122 148
      * @return void
123 149
      */
124
-    public function __clone() { }
150
+    public function __clone()
151
+    {
152
+}
125 153
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/PromotionContext.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -400,6 +400,7 @@  discard block
 block discarded – undo
400 400
 
401 401
     /**
402 402
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/
403
+     * @param integer $discount
403 404
      */
404 405
     public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount)
405 406
     {
@@ -725,6 +726,7 @@  discard block
 block discarded – undo
725 726
 
726 727
     /**
727 728
      * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order over ("(?:€|£|\$)[^"]+")$/
729
+     * @param integer $discount
728 730
      */
729 731
     public function itGivesDiscountOnShippingToEveryOrderOver(
730 732
         PromotionInterface $promotion,
@@ -899,6 +901,9 @@  discard block
 block discarded – undo
899 901
         return $coupon;
900 902
     }
901 903
 
904
+    /**
905
+     * @param string $prefix
906
+     */
902 907
     private function generateCoupons(
903 908
         int $amount,
904 909
         PromotionInterface $promotion,
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/GeneratePageInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -23,17 +23,38 @@
 block discarded – undo
23 23
 
24 24
     public function checkGenerationValidation(string $message): bool;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function generate(): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function specifyAmount(?int $amount): void;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function specifyCodeLength(?int $codeLength): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function setExpiresAt(\DateTimeInterface $date): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function setUsageLimit(int $limit): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function specifyPrefix(string $prefix): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function specifySuffix(string $suffix): void;
39 60
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/LoginPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -19,9 +19,18 @@
 block discarded – undo
19 19
 {
20 20
     public function hasValidationErrorWith(string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function logIn(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyPassword(string $password): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function specifyUsername(string $username): void;
27 36
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/RequestPasswordResetPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,7 +19,13 @@
 block discarded – undo
19 19
 {
20 20
     public function checkValidationMessageFor(string $element, string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function reset(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyEmail(?string $email): void;
25 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/IndexPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -23,10 +23,19 @@
 block discarded – undo
23 23
 
24 24
     public function getLastProductNameFromList(): string;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function search(string $name): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function sort(string $orderNumber): void;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function clearFilter(): void;
31 40
 
32 41
     public function isProductOnList(string $productName): bool;
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/EmailManager/OrderEmailManagerInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface OrderEmailManagerInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function sendConfirmationEmail(OrderInterface $order): void;
21 24
 }
Please login to merge, or discard this patch.