@@ -38,7 +38,7 @@ |
||
| 38 | 38 | The <info>sylius:user:promote</info> command promotes a user by adding security roles |
| 39 | 39 | |
| 40 | 40 | <info>php app/console sylius:user:promote [email protected]</info> |
| 41 | -EOT |
|
| 41 | +eot |
|
| 42 | 42 | ); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | The <info>sylius:user:demote</info> command demotes a user by removing security roles |
| 39 | 39 | |
| 40 | 40 | <info>php app/console sylius:user:demote [email protected]</info> |
| 41 | -EOT |
|
| 41 | +eot |
|
| 42 | 42 | ); |
| 43 | 43 | } |
| 44 | 44 | |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @return iterable |
|
| 136 | + * @return \Generator |
|
| 137 | 137 | */ |
| 138 | 138 | private function getLocales(): iterable |
| 139 | 139 | { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | } |
| 134 | 134 | |
| 135 | 135 | /** |
| 136 | - * @return iterable |
|
| 136 | + * @return \Generator |
|
| 137 | 137 | */ |
| 138 | 138 | private function getLocales(): iterable |
| 139 | 139 | { |
@@ -31,6 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * @param \DateTimeInterface|null $checkoutCompletedAt |
| 34 | + * @return void |
|
| 34 | 35 | */ |
| 35 | 36 | public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void; |
| 36 | 37 | |
@@ -39,6 +40,9 @@ discard block |
||
| 39 | 40 | */ |
| 40 | 41 | public function isCheckoutCompleted(): bool; |
| 41 | 42 | |
| 43 | + /** |
|
| 44 | + * @return void |
|
| 45 | + */ |
|
| 42 | 46 | public function completeCheckout(): void; |
| 43 | 47 | |
| 44 | 48 | /** |
@@ -48,6 +52,7 @@ discard block |
||
| 48 | 52 | |
| 49 | 53 | /** |
| 50 | 54 | * @param string|null $number |
| 55 | + * @return void |
|
| 51 | 56 | */ |
| 52 | 57 | public function setNumber(?string $number): void; |
| 53 | 58 | |
@@ -58,6 +63,7 @@ discard block |
||
| 58 | 63 | |
| 59 | 64 | /** |
| 60 | 65 | * @param string|null $notes |
| 66 | + * @return void |
|
| 61 | 67 | */ |
| 62 | 68 | public function setNotes(?string $notes): void; |
| 63 | 69 | |
@@ -66,6 +72,9 @@ discard block |
||
| 66 | 72 | */ |
| 67 | 73 | public function getItems(): Collection; |
| 68 | 74 | |
| 75 | + /** |
|
| 76 | + * @return void |
|
| 77 | + */ |
|
| 69 | 78 | public function clearItems(): void; |
| 70 | 79 | |
| 71 | 80 | /** |
@@ -75,11 +84,13 @@ discard block |
||
| 75 | 84 | |
| 76 | 85 | /** |
| 77 | 86 | * @param OrderItemInterface $item |
| 87 | + * @return void |
|
| 78 | 88 | */ |
| 79 | 89 | public function addItem(OrderItemInterface $item): void; |
| 80 | 90 | |
| 81 | 91 | /** |
| 82 | 92 | * @param OrderItemInterface $item |
| 93 | + * @return void |
|
| 83 | 94 | */ |
| 84 | 95 | public function removeItem(OrderItemInterface $item): void; |
| 85 | 96 | |
@@ -95,6 +106,9 @@ discard block |
||
| 95 | 106 | */ |
| 96 | 107 | public function getItemsTotal(): int; |
| 97 | 108 | |
| 109 | + /** |
|
| 110 | + * @return void |
|
| 111 | + */ |
|
| 98 | 112 | public function recalculateItemsTotal(): void; |
| 99 | 113 | |
| 100 | 114 | /** |
@@ -114,6 +128,7 @@ discard block |
||
| 114 | 128 | |
| 115 | 129 | /** |
| 116 | 130 | * @param string $state |
| 131 | + * @return void |
|
| 117 | 132 | */ |
| 118 | 133 | public function setState(string $state): void; |
| 119 | 134 | |
@@ -138,6 +153,7 @@ discard block |
||
| 138 | 153 | |
| 139 | 154 | /** |
| 140 | 155 | * @param string|null $type |
| 156 | + * @return void |
|
| 141 | 157 | */ |
| 142 | 158 | public function removeAdjustmentsRecursively(?string $type = null): void; |
| 143 | 159 | } |
@@ -44,6 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * @param AddressInterface|null $address |
| 47 | + * @return void |
|
| 47 | 48 | */ |
| 48 | 49 | public function setShippingAddress(?AddressInterface $address): void; |
| 49 | 50 | |
@@ -54,6 +55,7 @@ discard block |
||
| 54 | 55 | |
| 55 | 56 | /** |
| 56 | 57 | * @param AddressInterface|null $address |
| 58 | + * @return void |
|
| 57 | 59 | */ |
| 58 | 60 | public function setBillingAddress(?AddressInterface $address): void; |
| 59 | 61 | |
@@ -64,6 +66,7 @@ discard block |
||
| 64 | 66 | |
| 65 | 67 | /** |
| 66 | 68 | * @param string|null $checkoutState |
| 69 | + * @return void |
|
| 67 | 70 | */ |
| 68 | 71 | public function setCheckoutState(?string $checkoutState): void; |
| 69 | 72 | |
@@ -74,6 +77,7 @@ discard block |
||
| 74 | 77 | |
| 75 | 78 | /** |
| 76 | 79 | * @param string|null $paymentState |
| 80 | + * @return void |
|
| 77 | 81 | */ |
| 78 | 82 | public function setPaymentState(?string $paymentState): void; |
| 79 | 83 | |
@@ -106,14 +110,19 @@ discard block |
||
| 106 | 110 | |
| 107 | 111 | /** |
| 108 | 112 | * @param ShipmentInterface $shipment |
| 113 | + * @return void |
|
| 109 | 114 | */ |
| 110 | 115 | public function addShipment(ShipmentInterface $shipment): void; |
| 111 | 116 | |
| 112 | 117 | /** |
| 113 | 118 | * @param ShipmentInterface $shipment |
| 119 | + * @return void |
|
| 114 | 120 | */ |
| 115 | 121 | public function removeShipment(ShipmentInterface $shipment): void; |
| 116 | 122 | |
| 123 | + /** |
|
| 124 | + * @return void |
|
| 125 | + */ |
|
| 117 | 126 | public function removeShipments(): void; |
| 118 | 127 | |
| 119 | 128 | /** |
@@ -130,6 +139,7 @@ discard block |
||
| 130 | 139 | |
| 131 | 140 | /** |
| 132 | 141 | * @param string|null $currencyCode |
| 142 | + * @return void |
|
| 133 | 143 | */ |
| 134 | 144 | public function setCurrencyCode(?string $currencyCode): void; |
| 135 | 145 | |
@@ -140,11 +150,13 @@ discard block |
||
| 140 | 150 | |
| 141 | 151 | /** |
| 142 | 152 | * @param string|null $localeCode |
| 153 | + * @return void |
|
| 143 | 154 | */ |
| 144 | 155 | public function setLocaleCode(?string $localeCode): void; |
| 145 | 156 | |
| 146 | 157 | /** |
| 147 | 158 | * @param BaseCouponInterface|null $coupon |
| 159 | + * @return void |
|
| 148 | 160 | */ |
| 149 | 161 | public function setPromotionCoupon(?BaseCouponInterface $coupon): void; |
| 150 | 162 | |
@@ -155,6 +167,7 @@ discard block |
||
| 155 | 167 | |
| 156 | 168 | /** |
| 157 | 169 | * @param string|null $state |
| 170 | + * @return void |
|
| 158 | 171 | */ |
| 159 | 172 | public function setShippingState(?string $state): void; |
| 160 | 173 | |
@@ -187,6 +200,7 @@ discard block |
||
| 187 | 200 | |
| 188 | 201 | /** |
| 189 | 202 | * @param string|null $tokenValue |
| 203 | + * @return void |
|
| 190 | 204 | */ |
| 191 | 205 | public function setTokenValue(?string $tokenValue): void; |
| 192 | 206 | |
@@ -197,6 +211,7 @@ discard block |
||
| 197 | 211 | |
| 198 | 212 | /** |
| 199 | 213 | * @param string|null $customerIp |
| 214 | + * @return void |
|
| 200 | 215 | */ |
| 201 | 216 | public function setCustomerIp(?string $customerIp): void; |
| 202 | 217 | |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * @param string $name |
| 170 | 170 | * |
| 171 | - * @return mixed|string|null |
|
| 171 | + * @return string |
|
| 172 | 172 | */ |
| 173 | 173 | public function getRedirectRoute($name) |
| 174 | 174 | { |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | } |
| 229 | 229 | |
| 230 | 230 | /** |
| 231 | - * @param object|null $resource |
|
| 231 | + * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource |
|
| 232 | 232 | * |
| 233 | 233 | * @return array |
| 234 | 234 | */ |