@@ -18,5 +18,8 @@ |
||
18 | 18 | |
19 | 19 | interface AvatarImageRepositoryInterface extends RepositoryInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return \Sylius\Component\Resource\Model\ResourceInterface |
|
23 | + */ |
|
21 | 24 | public function findOneByOwnerId(string $id): ?ImageInterface; |
22 | 25 | } |
@@ -27,20 +27,45 @@ discard block |
||
27 | 27 | |
28 | 28 | public const STATE_FULFILLED = 'fulfilled'; |
29 | 29 | |
30 | + /** |
|
31 | + * @return \DateTimeInterface|null |
|
32 | + */ |
|
30 | 33 | public function getCheckoutCompletedAt(): ?\DateTimeInterface; |
31 | 34 | |
35 | + /** |
|
36 | + * @param \DateTimeInterface $checkoutCompletedAt |
|
37 | + * |
|
38 | + * @return void |
|
39 | + */ |
|
32 | 40 | public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void; |
33 | 41 | |
34 | 42 | public function isCheckoutCompleted(): bool; |
35 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
36 | 47 | public function completeCheckout(): void; |
37 | 48 | |
49 | + /** |
|
50 | + * @return string|null |
|
51 | + */ |
|
38 | 52 | public function getNumber(): ?string; |
39 | 53 | |
54 | + /** |
|
55 | + * @return void |
|
56 | + */ |
|
40 | 57 | public function setNumber(?string $number): void; |
41 | 58 | |
59 | + /** |
|
60 | + * @return string|null |
|
61 | + */ |
|
42 | 62 | public function getNotes(): ?string; |
43 | 63 | |
64 | + /** |
|
65 | + * @param string $notes |
|
66 | + * |
|
67 | + * @return void |
|
68 | + */ |
|
44 | 69 | public function setNotes(?string $notes): void; |
45 | 70 | |
46 | 71 | /** |
@@ -48,18 +73,30 @@ discard block |
||
48 | 73 | */ |
49 | 74 | public function getItems(): Collection; |
50 | 75 | |
76 | + /** |
|
77 | + * @return void |
|
78 | + */ |
|
51 | 79 | public function clearItems(): void; |
52 | 80 | |
53 | 81 | public function countItems(): int; |
54 | 82 | |
83 | + /** |
|
84 | + * @return void |
|
85 | + */ |
|
55 | 86 | public function addItem(OrderItemInterface $item): void; |
56 | 87 | |
88 | + /** |
|
89 | + * @return void |
|
90 | + */ |
|
57 | 91 | public function removeItem(OrderItemInterface $item): void; |
58 | 92 | |
59 | 93 | public function hasItem(OrderItemInterface $item): bool; |
60 | 94 | |
61 | 95 | public function getItemsTotal(): int; |
62 | 96 | |
97 | + /** |
|
98 | + * @return void |
|
99 | + */ |
|
63 | 100 | public function recalculateItemsTotal(): void; |
64 | 101 | |
65 | 102 | public function getTotal(): int; |
@@ -68,6 +105,9 @@ discard block |
||
68 | 105 | |
69 | 106 | public function getState(): string; |
70 | 107 | |
108 | + /** |
|
109 | + * @return void |
|
110 | + */ |
|
71 | 111 | public function setState(string $state): void; |
72 | 112 | |
73 | 113 | public function isEmpty(): bool; |
@@ -79,5 +119,8 @@ discard block |
||
79 | 119 | |
80 | 120 | public function getAdjustmentsTotalRecursively(?string $type = null): int; |
81 | 121 | |
122 | + /** |
|
123 | + * @return void |
|
124 | + */ |
|
82 | 125 | public function removeAdjustmentsRecursively(?string $type = null): void; |
83 | 126 | } |
@@ -17,15 +17,27 @@ |
||
17 | 17 | |
18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function chooseStateToFilter(string $paymentState): void; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function completePaymentOfOrderWithNumber(string $orderNumber): void; |
23 | 29 | |
24 | 30 | public function getPaymentStateByOrderNumber(string $orderNumber): string; |
25 | 31 | |
26 | 32 | public function isPaymentWithOrderNumberInPosition(string $orderNumber, int $position): bool; |
27 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
28 | 37 | public function showOrderPageForNthPayment(int $position): void; |
29 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
30 | 42 | public function chooseChannelFilter(string $channelName): void; |
31 | 43 | } |
@@ -24,11 +24,23 @@ |
||
24 | 24 | |
25 | 25 | public function isShowInShopButtonDisabled(): bool; |
26 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
27 | 30 | public function showProductInChannel(string $channel): void; |
28 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
29 | 35 | public function showProductInSingleChannel(): void; |
30 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
31 | 40 | public function showProductEditPage(): void; |
32 | 41 | |
42 | + /** |
|
43 | + * @return void |
|
44 | + */ |
|
33 | 45 | public function showVariantEditPage(ProductVariantInterface $variant): void; |
34 | 46 | } |
@@ -17,8 +17,14 @@ discard block |
||
17 | 17 | |
18 | 18 | interface ThankYouPageInterface extends SymfonyPageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function goToTheChangePaymentMethodPage(): void; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function goToOrderDetailsInAccount(): void; |
23 | 29 | |
24 | 30 | /** |
@@ -43,5 +49,8 @@ discard block |
||
43 | 49 | |
44 | 50 | public function hasRegistrationButton(): bool; |
45 | 51 | |
52 | + /** |
|
53 | + * @return void |
|
54 | + */ |
|
46 | 55 | public function createAccount(): void; |
47 | 56 | } |
@@ -33,8 +33,8 @@ |
||
33 | 33 | public function getFunctions(): array |
34 | 34 | { |
35 | 35 | return [ |
36 | - new TwigFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
37 | - new TwigFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
36 | + new TwigFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
37 | + new TwigFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
38 | 38 | ]; |
39 | 39 | } |
40 | 40 | } |
@@ -18,7 +18,13 @@ |
||
18 | 18 | |
19 | 19 | interface AttributeTranslationInterface extends ResourceInterface, TranslationInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string|null |
|
23 | + */ |
|
21 | 24 | public function getName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setName(?string $name): void; |
24 | 30 | } |
@@ -17,15 +17,33 @@ |
||
17 | 17 | |
18 | 18 | interface ProductTaxonInterface extends ResourceInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return ProductInterface|null |
|
22 | + */ |
|
20 | 23 | public function getProduct(): ?ProductInterface; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function setProduct(?ProductInterface $product): void; |
23 | 29 | |
30 | + /** |
|
31 | + * @return TaxonInterface|null |
|
32 | + */ |
|
24 | 33 | public function getTaxon(): ?TaxonInterface; |
25 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
26 | 38 | public function setTaxon(?TaxonInterface $taxon): void; |
27 | 39 | |
40 | + /** |
|
41 | + * @return integer|null |
|
42 | + */ |
|
28 | 43 | public function getPosition(): ?int; |
29 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
30 | 48 | public function setPosition(?int $position): void; |
31 | 49 | } |
@@ -18,7 +18,13 @@ |
||
18 | 18 | |
19 | 19 | interface CustomerGroupInterface extends ResourceInterface, CodeAwareInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return string|null |
|
23 | + */ |
|
21 | 24 | public function getName(): ?string; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function setName(?string $name): void; |
24 | 30 | } |