@@ -18,7 +18,15 @@ |
||
18 | 18 | |
19 | 19 | interface ZoneMemberInterface extends ResourceInterface, CodeAwareInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return ZoneInterface|null |
|
23 | + */ |
|
21 | 24 | public function getBelongsTo(): ?ZoneInterface; |
22 | 25 | |
26 | + /** |
|
27 | + * @param Zone|null $belongsTo |
|
28 | + * |
|
29 | + * @return void |
|
30 | + */ |
|
23 | 31 | public function setBelongsTo(?ZoneInterface $belongsTo): void; |
24 | 32 | } |
@@ -22,6 +22,9 @@ |
||
22 | 22 | |
23 | 23 | public function getType(): string; |
24 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
25 | 28 | public function validate( |
26 | 29 | AttributeValueInterface $attributeValue, |
27 | 30 | ExecutionContextInterface $context, |
@@ -109,6 +109,7 @@ discard block |
||
109 | 109 | |
110 | 110 | /** |
111 | 111 | * {@inheritdoc} |
112 | + * @param string $type |
|
112 | 113 | */ |
113 | 114 | public function setType(?string $type): void |
114 | 115 | { |
@@ -141,6 +142,7 @@ discard block |
||
141 | 142 | |
142 | 143 | /** |
143 | 144 | * {@inheritdoc} |
145 | + * @param string $storageType |
|
144 | 146 | */ |
145 | 147 | public function setStorageType(?string $storageType): void |
146 | 148 | { |
@@ -27,22 +27,50 @@ |
||
27 | 27 | { |
28 | 28 | public function getName(): ?string; |
29 | 29 | |
30 | + /** |
|
31 | + * @return void |
|
32 | + */ |
|
30 | 33 | public function setName(?string $name): void; |
31 | 34 | |
35 | + /** |
|
36 | + * @return string |
|
37 | + */ |
|
32 | 38 | public function getType(): ?string; |
33 | 39 | |
40 | + /** |
|
41 | + * @param string $type |
|
42 | + * |
|
43 | + * @return void |
|
44 | + */ |
|
34 | 45 | public function setType(?string $type): void; |
35 | 46 | |
36 | 47 | public function getConfiguration(): array; |
37 | 48 | |
49 | + /** |
|
50 | + * @return void |
|
51 | + */ |
|
38 | 52 | public function setConfiguration(array $configuration): void; |
39 | 53 | |
54 | + /** |
|
55 | + * @return string |
|
56 | + */ |
|
40 | 57 | public function getStorageType(): ?string; |
41 | 58 | |
59 | + /** |
|
60 | + * @return void |
|
61 | + */ |
|
42 | 62 | public function setStorageType(string $storageType): void; |
43 | 63 | |
64 | + /** |
|
65 | + * @return integer |
|
66 | + */ |
|
44 | 67 | public function getPosition(): ?int; |
45 | 68 | |
69 | + /** |
|
70 | + * @param integer $position |
|
71 | + * |
|
72 | + * @return void |
|
73 | + */ |
|
46 | 74 | public function setPosition(?int $position): void; |
47 | 75 | |
48 | 76 | /** |
@@ -15,7 +15,13 @@ |
||
15 | 15 | |
16 | 16 | interface ChannelAwareInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return \Sylius\Component\Core\Model\ChannelInterface|null |
|
20 | + */ |
|
18 | 21 | public function getChannel(): ?ChannelInterface; |
19 | 22 | |
23 | + /** |
|
24 | + * @return void |
|
25 | + */ |
|
20 | 26 | public function setChannel(?ChannelInterface $channel): void; |
21 | 27 | } |
@@ -24,7 +24,13 @@ |
||
24 | 24 | |
25 | 25 | public function hasChannel(ChannelInterface $channel): bool; |
26 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
27 | 30 | public function addChannel(ChannelInterface $channel): void; |
28 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
29 | 35 | public function removeChannel(ChannelInterface $channel): void; |
30 | 36 | } |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | interface CurrencyStorageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function set(ChannelInterface $channel, string $currencyCode): void; |
22 | 25 | |
23 | 26 | /** |
@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface CustomerAddressAdderInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function add(CustomerInterface $customer, AddressInterface $address): void; |
22 | 25 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface OrderAddressesSaverInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function saveAddresses(OrderInterface $order): void; |
21 | 24 | } |