Completed
Push — 1.5-lint-container ( 339259...ddb6cd )
by Kamil
05:28
created
src/Sylius/Component/Core/Model/OrderInterface.php 1 patch
Doc Comments   +73 added lines patch added patch discarded remove patch
@@ -34,20 +34,46 @@  discard block
 block discarded – undo
34 34
 {
35 35
     public function getUser(): ?UserInterface;
36 36
 
37
+    /**
38
+     * @return AddressInterface
39
+     */
37 40
     public function getShippingAddress(): ?AddressInterface;
38 41
 
42
+    /**
43
+     * @return void
44
+     */
39 45
     public function setShippingAddress(?AddressInterface $address): void;
40 46
 
47
+    /**
48
+     * @return AddressInterface
49
+     */
41 50
     public function getBillingAddress(): ?AddressInterface;
42 51
 
52
+    /**
53
+     * @param AddressInterface $address
54
+     *
55
+     * @return void
56
+     */
43 57
     public function setBillingAddress(?AddressInterface $address): void;
44 58
 
59
+    /**
60
+     * @return string
61
+     */
45 62
     public function getCheckoutState(): ?string;
46 63
 
64
+    /**
65
+     * @return void
66
+     */
47 67
     public function setCheckoutState(?string $checkoutState): void;
48 68
 
69
+    /**
70
+     * @return string
71
+     */
49 72
     public function getPaymentState(): ?string;
50 73
 
74
+    /**
75
+     * @return void
76
+     */
51 77
     public function setPaymentState(?string $paymentState): void;
52 78
 
53 79
     /**
@@ -69,28 +95,63 @@  discard block
 block discarded – undo
69 95
 
70 96
     public function hasShipments(): bool;
71 97
 
98
+    /**
99
+     * @return void
100
+     */
72 101
     public function addShipment(ShipmentInterface $shipment): void;
73 102
 
103
+    /**
104
+     * @return void
105
+     */
74 106
     public function removeShipment(ShipmentInterface $shipment): void;
75 107
 
108
+    /**
109
+     * @return void
110
+     */
76 111
     public function removeShipments(): void;
77 112
 
78 113
     public function hasShipment(ShipmentInterface $shipment): bool;
79 114
 
115
+    /**
116
+     * @return string
117
+     */
80 118
     public function getCurrencyCode(): ?string;
81 119
 
120
+    /**
121
+     * @return void
122
+     */
82 123
     public function setCurrencyCode(?string $currencyCode): void;
83 124
 
125
+    /**
126
+     * @return string
127
+     */
84 128
     public function getLocaleCode(): ?string;
85 129
 
130
+    /**
131
+     * @return void
132
+     */
86 133
     public function setLocaleCode(?string $localeCode): void;
87 134
 
135
+    /**
136
+     * @param PromotionCouponInterface $coupon
137
+     *
138
+     * @return void
139
+     */
88 140
     public function setPromotionCoupon(?BaseCouponInterface $coupon): void;
89 141
 
142
+    /**
143
+     * @return string
144
+     */
90 145
     public function getShippingState(): ?string;
91 146
 
147
+    /**
148
+     * @return void
149
+     */
92 150
     public function setShippingState(?string $state): void;
93 151
 
152
+    /**
153
+     * @return PaymentInterface
154
+     */
94 155
     public function getLastPayment(?string $state = null): ?PaymentInterface;
95 156
 
96 157
     public function getTaxTotal(): int;
@@ -99,12 +160,24 @@  discard block
 block discarded – undo
99 160
 
100 161
     public function getOrderPromotionTotal(): int;
101 162
 
163
+    /**
164
+     * @return string
165
+     */
102 166
     public function getTokenValue(): ?string;
103 167
 
168
+    /**
169
+     * @return void
170
+     */
104 171
     public function setTokenValue(?string $tokenValue): void;
105 172
 
173
+    /**
174
+     * @return string
175
+     */
106 176
     public function getCustomerIp(): ?string;
107 177
 
178
+    /**
179
+     * @return void
180
+     */
108 181
     public function setCustomerIp(?string $customerIp): void;
109 182
 
110 183
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/PaymentMethodInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
 interface PaymentMethodInterface extends BasePaymentMethodInterface, ChannelsAwareInterface
21 21
 {
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function setGatewayConfig(?GatewayConfigInterface $gateway): void;
23 26
 
24 27
     public function getGatewayConfig(): ?GatewayConfigInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Currency/Model/Currency.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * {@inheritdoc}
65
+     * @param string $code
65 66
      */
66 67
     public function setCode(?string $code): void
67 68
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Currency/Model/CurrencyInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,5 +22,8 @@
 block discarded – undo
22 22
     TimestampableInterface,
23 23
     ResourceInterface
24 24
 {
25
+    /**
26
+     * @return string
27
+     */
25 28
     public function getName(): ?string;
26 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Resolver/TaxRateResolver.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,8 +14,8 @@
 block discarded – undo
14 14
 namespace Sylius\Component\Taxation\Resolver;
15 15
 
16 16
 use Sylius\Component\Resource\Repository\RepositoryInterface;
17
-use Sylius\Component\Taxation\Model\TaxableInterface;
18 17
 use Sylius\Component\Taxation\Model\TaxRateInterface;
18
+use Sylius\Component\Taxation\Model\TaxableInterface;
19 19
 
20 20
 class TaxRateResolver implements TaxRateResolverInterface
21 21
 {
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserAwareInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -17,5 +17,10 @@
 block discarded – undo
17 17
 {
18 18
     public function getUser(): ?UserInterface;
19 19
 
20
+    /**
21
+     * @param null|User $user
22
+     *
23
+     * @return void
24
+     */
20 25
     public function setUser(?UserInterface $user);
21 26
 }
Please login to merge, or discard this patch.
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.