Completed
Push — psalm-deprecated-classes ( a6dba6...4a7eeb )
by Kamil
04:46
created
src/Sylius/Component/User/Model/UserOAuthInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -17,19 +17,43 @@
 block discarded – undo
17 17
 
18 18
 interface UserOAuthInterface extends UserAwareInterface, ResourceInterface
19 19
 {
20
+    /**
21
+     * @return string|null
22
+     */
20 23
     public function getProvider(): ?string;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setProvider(?string $provider): void;
23 29
 
30
+    /**
31
+     * @return string|null
32
+     */
24 33
     public function getIdentifier(): ?string;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function setIdentifier(?string $identifier): void;
27 39
 
40
+    /**
41
+     * @return string|null
42
+     */
28 43
     public function getAccessToken(): ?string;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function setAccessToken(?string $accessToken): void;
31 49
 
50
+    /**
51
+     * @return string|null
52
+     */
32 53
     public function getRefreshToken(): ?string;
33 54
 
55
+    /**
56
+     * @return void
57
+     */
34 58
     public function setRefreshToken(?string $refreshToken): void;
35 59
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/TaxonInterface.php 1 patch
Doc Comments   +33 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     /**
38 38
      * @param TaxonInterface|null $taxon
39
+     * @return void
39 40
      */
40 41
     public function setParent(?self $taxon): void;
41 42
 
@@ -58,38 +59,70 @@  discard block
 block discarded – undo
58 59
 
59 60
     /**
60 61
      * @param TaxonInterface $taxon
62
+     * @return void
61 63
      */
62 64
     public function addChild(self $taxon): void;
63 65
 
64 66
     /**
65 67
      * @param TaxonInterface $taxon
68
+     * @return void
66 69
      */
67 70
     public function removeChild(self $taxon): void;
68 71
 
69 72
     public function getName(): ?string;
70 73
 
74
+    /**
75
+     * @return void
76
+     */
71 77
     public function setName(?string $name): void;
72 78
 
73 79
     public function getFullname(string $pathDelimiter = ' / '): ?string;
74 80
 
75 81
     public function getDescription(): ?string;
76 82
 
83
+    /**
84
+     * @return void
85
+     */
77 86
     public function setDescription(?string $description): void;
78 87
 
88
+    /**
89
+     * @return integer|null
90
+     */
79 91
     public function getLeft(): ?int;
80 92
 
93
+    /**
94
+     * @return void
95
+     */
81 96
     public function setLeft(?int $left): void;
82 97
 
98
+    /**
99
+     * @return integer|null
100
+     */
83 101
     public function getRight(): ?int;
84 102
 
103
+    /**
104
+     * @return void
105
+     */
85 106
     public function setRight(?int $right): void;
86 107
 
108
+    /**
109
+     * @return integer|null
110
+     */
87 111
     public function getLevel(): ?int;
88 112
 
113
+    /**
114
+     * @return void
115
+     */
89 116
     public function setLevel(?int $level): void;
90 117
 
118
+    /**
119
+     * @return integer|null
120
+     */
91 121
     public function getPosition(): ?int;
92 122
 
123
+    /**
124
+     * @return void
125
+     */
93 126
     public function setPosition(?int $position): void;
94 127
 
95 128
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/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/Admin/Administrator/CreatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -17,13 +17,28 @@
 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 specifyUsername(string $username): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyEmail(string $email): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function specifyPassword(string $password): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function specifyLocale(string $localeCode): void;
29 44
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/CreatePageInterface.php 1 patch
Doc Comments   +48 added lines patch added patch discarded remove patch
@@ -17,35 +17,83 @@
 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): 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 describeItAs(string $description): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function setHostname(string $hostname): void;
31 49
 
50
+    /**
51
+     * @return void
52
+     */
32 53
     public function setContactEmail(string $contactEmail): void;
33 54
 
55
+    /**
56
+     * @return void
57
+     */
34 58
     public function defineColor(string $color): void;
35 59
 
60
+    /**
61
+     * @return void
62
+     */
36 63
     public function chooseLocale(string $language): void;
37 64
 
65
+    /**
66
+     * @return void
67
+     */
38 68
     public function chooseCurrency(string $currencyCode): void;
39 69
 
70
+    /**
71
+     * @return void
72
+     */
40 73
     public function chooseDefaultTaxZone(string $taxZone): void;
41 74
 
75
+    /**
76
+     * @return void
77
+     */
42 78
     public function chooseDefaultLocale(?string $locale): void;
43 79
 
80
+    /**
81
+     * @return void
82
+     */
44 83
     public function chooseBaseCurrency(?string $currency): void;
45 84
 
85
+    /**
86
+     * @return void
87
+     */
46 88
     public function chooseTaxCalculationStrategy(string $taxCalculationStrategy): void;
47 89
 
90
+    /**
91
+     * @return void
92
+     */
48 93
     public function allowToSkipShippingStep(): void;
49 94
 
95
+    /**
96
+     * @return void
97
+     */
50 98
     public function allowToSkipPaymentStep(): void;
51 99
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Channel/IndexPageInterface.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 IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return string
22
+     */
20 23
     public function getUsedThemeName(string $channelCode): ?string;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Country/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 chooseName(string $name): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function addProvince(string $name, string $code, string $abbreviation = null): void;
23 29
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Country/UpdatePageInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -17,8 +17,14 @@  discard block
 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
 
24 30
     public function isCodeFieldDisabled(): bool;
@@ -27,15 +33,33 @@  discard block
 block discarded – undo
27 33
 
28 34
     public function isThereProvinceWithCode(string $provinceCode): bool;
29 35
 
36
+    /**
37
+     * @return void
38
+     */
30 39
     public function addProvince(string $name, string $code, string $abbreviation = null): void;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function removeProvince(string $provinceName): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function clickAddProvinceButton(): void;
35 50
 
51
+    /**
52
+     * @return void
53
+     */
36 54
     public function nameProvince(string $provinceName): void;
37 55
 
56
+    /**
57
+     * @return void
58
+     */
38 59
     public function removeProvinceName(string $provinceName): void;
39 60
 
61
+    /**
62
+     * @return void
63
+     */
40 64
     public function specifyProvinceCode(string $provinceCode): void;
41 65
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Currency/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 chooseName(string $name): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function specifyExchangeRate(float $exchangeRate): void;
23 29
 }
Please login to merge, or discard this patch.