@@ -19,7 +19,13 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public function hasProductsInOrder(array $productNames): bool; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 22 | 25 | public function setPositionOfProduct(string $productName, string $position): void; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function savePositions(): void; |
| 25 | 31 | } |
@@ -19,19 +19,45 @@ |
||
| 19 | 19 | { |
| 20 | 20 | public const DEFAULT_ADMIN_ROLE = 'ROLE_ADMINISTRATION_ACCESS'; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @return string |
|
| 24 | + */ |
|
| 22 | 25 | public function getFirstName(): ?string; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function setFirstName(?string $firstName): void; |
| 25 | 31 | |
| 32 | + /** |
|
| 33 | + * @return string |
|
| 34 | + */ |
|
| 26 | 35 | public function getLastName(): ?string; |
| 27 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 28 | 40 | public function setLastName(?string $lastName): void; |
| 29 | 41 | |
| 42 | + /** |
|
| 43 | + * @return string |
|
| 44 | + */ |
|
| 30 | 45 | public function getLocaleCode(): ?string; |
| 31 | 46 | |
| 47 | + /** |
|
| 48 | + * @return void |
|
| 49 | + */ |
|
| 32 | 50 | public function setLocaleCode(?string $code): void; |
| 33 | 51 | |
| 52 | + /** |
|
| 53 | + * @return ImageInterface |
|
| 54 | + */ |
|
| 34 | 55 | public function getAvatar(): ?ImageInterface; |
| 35 | 56 | |
| 57 | + /** |
|
| 58 | + * @param AvatarImage $avatar |
|
| 59 | + * |
|
| 60 | + * @return void |
|
| 61 | + */ |
|
| 36 | 62 | public function setAvatar(?ImageInterface $avatar); |
| 37 | 63 | } |
@@ -15,7 +15,13 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface ImageAwareInterface |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return ImageInterface |
|
| 20 | + */ |
|
| 18 | 21 | public function getImage(): ?ImageInterface; |
| 19 | 22 | |
| 23 | + /** |
|
| 24 | + * @return void |
|
| 25 | + */ |
|
| 20 | 26 | public function setImage(?ImageInterface $image): void; |
| 21 | 27 | } |
@@ -31,13 +31,25 @@ |
||
| 31 | 31 | ?string $baseLocaleCode = null |
| 32 | 32 | ): Collection; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 34 | 37 | public function addAttribute(AttributeValueInterface $attribute): void; |
| 35 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 36 | 42 | public function removeAttribute(AttributeValueInterface $attribute): void; |
| 37 | 43 | |
| 38 | 44 | public function hasAttribute(AttributeValueInterface $attribute): bool; |
| 39 | 45 | |
| 46 | + /** |
|
| 47 | + * @param string $localeCode |
|
| 48 | + */ |
|
| 40 | 49 | public function hasAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): bool; |
| 41 | 50 | |
| 51 | + /** |
|
| 52 | + * @param string $localeCode |
|
| 53 | + */ |
|
| 42 | 54 | public function getAttributeByCodeAndLocale(string $attributeCode, ?string $localeCode = null): ?AttributeValueInterface; |
| 43 | 55 | } |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @throws ElementNotFoundException |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function create(): void; |
| 30 | 31 | |
@@ -28,6 +28,9 @@ |
||
| 28 | 28 | */ |
| 29 | 29 | public function hasResourceValues(array $parameters): bool; |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @return void |
|
| 33 | + */ |
|
| 31 | 34 | public function saveChanges(): void; |
| 32 | 35 | |
| 33 | 36 | public function getMessageInvalidForm(): string; |
@@ -17,5 +17,8 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface IndexPageInterface extends BaseIndexPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return \Generator |
|
| 22 | + */ |
|
| 20 | 23 | public function getCouponCodes(): iterable; |
| 21 | 24 | } |
@@ -17,16 +17,34 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function attachAvatar(string $path): void; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function changeUsername(string $username): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return void |
|
| 32 | + */ |
|
| 24 | 33 | public function changeEmail(string $email): void; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 26 | 38 | public function changePassword(string $password): void; |
| 27 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 28 | 43 | public function changeLocale(string $localeCode): void; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function removeAvatar(): void; |
| 31 | 49 | |
| 32 | 50 | public function hasAvatar(string $avatarPath): bool; |
@@ -126,6 +126,7 @@ |
||
| 126 | 126 | * @Given a customer :customer placed an order :orderNumber |
| 127 | 127 | * @Given the customer :customer has already placed an order :orderNumber |
| 128 | 128 | * @Given there is a customer :customer that placed an order :orderNumber in channel :channel |
| 129 | + * @param string $orderNumber |
|
| 129 | 130 | */ |
| 130 | 131 | public function thereIsCustomerThatPlacedOrder(CustomerInterface $customer, $orderNumber = null, $channel = null) |
| 131 | 132 | { |