Completed
Push — psalm-deprecated-classes ( a6dba6...4a7eeb )
by Kamil
04:46
created
src/Sylius/Behat/Page/Admin/Locale/CreatePageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @throws ElementNotFoundException
23
+     * @return void
23 24
      */
24 25
     public function chooseName(string $name): void;
25 26
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/IndexPageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -17,15 +17,33 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function specifyFilterDateFrom(string $dateTime): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function specifyFilterDateTo(string $dateTime): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function chooseChannelFilter(string $channelName): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function chooseCurrencyFilter(string $currencyName): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function specifyFilterTotalGreaterThan(string $total): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function specifyFilterTotalLessThan(string $total): void;
31 49
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/ShowPageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -26,18 +26,30 @@  discard block
 block discarded – undo
26 26
 
27 27
     public function hasShipment(string $shippingMethodName): bool;
28 28
 
29
+    /**
30
+     * @return void
31
+     */
29 32
     public function specifyTrackingCode(string $code): void;
30 33
 
31 34
     public function canShipOrder(OrderInterface $order): bool;
32 35
 
36
+    /**
37
+     * @return void
38
+     */
33 39
     public function shipOrder(OrderInterface $order): void;
34 40
 
35 41
     public function hasPayment(string $paymentMethodName): bool;
36 42
 
37 43
     public function canCompleteOrderLastPayment(OrderInterface $order): bool;
38 44
 
45
+    /**
46
+     * @return void
47
+     */
39 48
     public function completeOrderLastPayment(OrderInterface $order): void;
40 49
 
50
+    /**
51
+     * @return void
52
+     */
41 53
     public function refundOrderLastPayment(OrderInterface $order): void;
42 54
 
43 55
     public function countItems(): int;
@@ -90,8 +102,14 @@  discard block
 block discarded – undo
90 102
 
91 103
     public function getShippingState(): string;
92 104
 
105
+    /**
106
+     * @return void
107
+     */
93 108
     public function cancelOrder(): void;
94 109
 
110
+    /**
111
+     * @return void
112
+     */
95 113
     public function deleteOrder(): void;
96 114
 
97 115
     public function hasNote(string $note): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/UpdatePage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
         $this->specifyAddress($address, self::TYPE_SHIPPING);
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $addressType
38
+     */
36 39
     private function specifyAddress(AddressInterface $address, $addressType): void
37 40
     {
38 41
         $this->specifyElementValue($addressType . '_first_name', $address->getFirstName());
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/UpdatePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,8 +18,14 @@
 block discarded – undo
18 18
 
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function specifyShippingAddress(AddressInterface $address): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function specifyBillingAddress(AddressInterface $address): void;
24 30
 
25 31
     public function checkValidationMessageFor(string $element, string $message): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PaymentMethod/CreatePageInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -17,28 +17,64 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable(): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function disable(): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function nameIt(string $name, string $languageCode): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function specifyCode(string $code): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function checkChannel(string $channelName): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function describeIt(string $description, string $languageCode): void;
31 49
 
50
+    /**
51
+     * @return void
52
+     */
32 53
     public function setInstructions(string $instructions, string $languageCode): void;
33 54
 
55
+    /**
56
+     * @return void
57
+     */
34 58
     public function setPaypalGatewayUsername(string $username): void;
35 59
 
60
+    /**
61
+     * @return void
62
+     */
36 63
     public function setPaypalGatewayPassword(string $password): void;
37 64
 
65
+    /**
66
+     * @return void
67
+     */
38 68
     public function setPaypalGatewaySignature(string $signature): void;
39 69
 
70
+    /**
71
+     * @return void
72
+     */
40 73
     public function setStripeSecretKey(string $secretKey): void;
41 74
 
75
+    /**
76
+     * @return void
77
+     */
42 78
     public function setStripePublishableKey(string $publishableKey): void;
43 79
 
44 80
     public function isCodeDisabled(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PaymentMethod/UpdatePageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -17,16 +17,34 @@
 block discarded – undo
17 17
 
18 18
 interface UpdatePageInterface extends BaseUpdatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable(): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function disable(): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function nameIt(string $name, string $languageCode): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setPaypalGatewayUsername(string $username): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function setPaypalGatewayPassword(string $password): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function setPaypalGatewaySignature(string $signature): void;
31 49
 
32 50
     public function isCodeDisabled(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -192,6 +192,9 @@
 block discarded – undo
192 192
         }
193 193
     }
194 194
 
195
+    /**
196
+     * @return string
197
+     */
195 198
     private function getImageElementByType(string $type): ?NodeElement
196 199
     {
197 200
         $images = $this->getElement('images');
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAssociationType/CreatePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,7 +17,13 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function specifyCode(string $code): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function nameItIn(string $name, string $language): void;
23 29
 }
Please login to merge, or discard this patch.