Completed
Push — psalm-deprecated-classes ( a6dba6...4a7eeb )
by Kamil
04:46
created
src/Sylius/Behat/Page/Admin/PromotionCoupon/CreatePageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -17,11 +17,23 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setCustomerUsageLimit(int $limit): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setExpiresAt(\DateTimeInterface $date): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyCode(string $code): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setUsageLimit(int $limit): void;
27 39
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/PromotionCoupon/UpdatePageInterface.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 isCodeDisabled(): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function setCustomerUsageLimit(int $limit): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setExpiresAt(\DateTimeInterface $date): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function setUsageLimit(string $limit): void;
27 36
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingCategory/CreatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -17,9 +17,18 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInteface
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 nameIt(string $name): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyDescription(string $description): void;
25 34
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/CreatePageInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -18,20 +18,46 @@
 block discarded – undo
18 18
 
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function specifyCode(string $code): void;
22 25
 
26
+    /**
27
+     * @param null|integer $position
28
+     *
29
+     * @return void
30
+     */
23 31
     public function specifyPosition(?int $position): void;
24 32
 
33
+    /**
34
+     * @return void
35
+     */
25 36
     public function nameIt(string $name, string $language): void;
26 37
 
38
+    /**
39
+     * @return void
40
+     */
27 41
     public function describeIt(string $description, string $languageCode): void;
28 42
 
43
+    /**
44
+     * @return void
45
+     */
29 46
     public function specifyAmountForChannel(string $channelCode, string $amount): void;
30 47
 
48
+    /**
49
+     * @return void
50
+     */
31 51
     public function chooseZone(string $name): void;
32 52
 
53
+    /**
54
+     * @return void
55
+     */
33 56
     public function chooseCalculator(string $name): void;
34 57
 
58
+    /**
59
+     * @return void
60
+     */
35 61
     public function checkChannel($channelName): void;
36 62
 
37 63
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/IndexPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function chooseArchival(string $isArchival): void;
21 24
 
22 25
     public function isArchivalFilterEnabled(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/UpdatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -22,10 +22,19 @@
 block discarded – undo
22 22
 
23 23
     public function isAvailableInChannel(string $channelName): bool;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function enable(): void;
26 29
 
30
+    /**
31
+     * @return void
32
+     */
27 33
     public function disable(): void;
28 34
 
35
+    /**
36
+     * @return void
37
+     */
29 38
     public function removeZone(): void;
30 39
 
31 40
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/TaxCategory/CreatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -17,9 +17,18 @@
 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 nameIt(string $name): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function describeItAs(string $description): void;
25 34
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/TaxCategory/UpdatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,5 +19,8 @@
 block discarded – undo
19 19
 {
20 20
     public function isCodeDisabled(): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function nameIt(string $name): void;
23 26
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreatePageInterface.php 1 patch
Doc Comments   +19 added lines patch added patch discarded remove patch
@@ -24,20 +24,36 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function countTaxonsByName(string $name): int;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function deleteTaxonOnPageByName(string $name): void;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function describeItAs(string $description, string $languageCode): void;
30 36
 
31 37
     public function hasTaxonWithName(string $name): bool;
32 38
 
39
+    /**
40
+     * @return void
41
+     */
33 42
     public function nameIt(string $name, string $languageCode): void;
34 43
 
44
+    /**
45
+     * @return void
46
+     */
35 47
     public function specifyCode(string $code): void;
36 48
 
49
+    /**
50
+     * @return void
51
+     */
37 52
     public function specifySlug(string $slug, string $languageCode): void;
38 53
 
39 54
     /**
40 55
      * @param string $type
56
+     * @return void
41 57
      */
42 58
     public function attachImage(string $path, string $type = null): void;
43 59
 
@@ -48,5 +64,8 @@  discard block
 block discarded – undo
48 64
      */
49 65
     public function getLeaves(TaxonInterface $parentTaxon = null): array;
50 66
 
67
+    /**
68
+     * @return void
69
+     */
51 70
     public function activateLanguageTab(string $locale): void;
52 71
 }
Please login to merge, or discard this patch.