@@ -33,6 +33,9 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | public function getEmail(): ?string; |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 36 | 39 | public function setEmail(?string $email): void; |
| 37 | 40 | |
| 38 | 41 | /** |
@@ -40,49 +43,110 @@ discard block |
||
| 40 | 43 | */ |
| 41 | 44 | public function getEmailCanonical(): ?string; |
| 42 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 43 | 49 | public function setEmailCanonical(?string $emailCanonical): void; |
| 44 | 50 | |
| 51 | + /** |
|
| 52 | + * @return void |
|
| 53 | + */ |
|
| 45 | 54 | public function setUsername(?string $username): void; |
| 46 | 55 | |
| 47 | 56 | /** |
| 48 | 57 | * Gets normalized username (should be used in search and sort queries). |
| 58 | + * @return string|null |
|
| 49 | 59 | */ |
| 50 | 60 | public function getUsernameCanonical(): ?string; |
| 51 | 61 | |
| 62 | + /** |
|
| 63 | + * @return void |
|
| 64 | + */ |
|
| 52 | 65 | public function setUsernameCanonical(?string $usernameCanonical): void; |
| 53 | 66 | |
| 67 | + /** |
|
| 68 | + * @return void |
|
| 69 | + */ |
|
| 54 | 70 | public function setLocked(bool $locked): void; |
| 55 | 71 | |
| 72 | + /** |
|
| 73 | + * @return string|null |
|
| 74 | + */ |
|
| 56 | 75 | public function getEmailVerificationToken(): ?string; |
| 57 | 76 | |
| 77 | + /** |
|
| 78 | + * @return void |
|
| 79 | + */ |
|
| 58 | 80 | public function setEmailVerificationToken(?string $verificationToken): void; |
| 59 | 81 | |
| 82 | + /** |
|
| 83 | + * @return string|null |
|
| 84 | + */ |
|
| 60 | 85 | public function getPasswordResetToken(): ?string; |
| 61 | 86 | |
| 87 | + /** |
|
| 88 | + * @param string|null $passwordResetToken |
|
| 89 | + * |
|
| 90 | + * @return void |
|
| 91 | + */ |
|
| 62 | 92 | public function setPasswordResetToken(?string $passwordResetToken): void; |
| 63 | 93 | |
| 94 | + /** |
|
| 95 | + * @return \DateTimeInterface|null |
|
| 96 | + */ |
|
| 64 | 97 | public function getPasswordRequestedAt(): ?\DateTimeInterface; |
| 65 | 98 | |
| 99 | + /** |
|
| 100 | + * @param \DateTime|null $date |
|
| 101 | + * |
|
| 102 | + * @return void |
|
| 103 | + */ |
|
| 66 | 104 | public function setPasswordRequestedAt(?\DateTimeInterface $date): void; |
| 67 | 105 | |
| 68 | 106 | public function isPasswordRequestNonExpired(\DateInterval $ttl): bool; |
| 69 | 107 | |
| 70 | 108 | public function isVerified(): bool; |
| 71 | 109 | |
| 110 | + /** |
|
| 111 | + * @return \DateTimeInterface|null |
|
| 112 | + */ |
|
| 72 | 113 | public function getVerifiedAt(): ?\DateTimeInterface; |
| 73 | 114 | |
| 115 | + /** |
|
| 116 | + * @param \DateTime|null $verifiedAt |
|
| 117 | + * |
|
| 118 | + * @return void |
|
| 119 | + */ |
|
| 74 | 120 | public function setVerifiedAt(?\DateTimeInterface $verifiedAt): void; |
| 75 | 121 | |
| 122 | + /** |
|
| 123 | + * @return \DateTimeInterface|null |
|
| 124 | + */ |
|
| 76 | 125 | public function getExpiresAt(): ?\DateTimeInterface; |
| 77 | 126 | |
| 127 | + /** |
|
| 128 | + * @return void |
|
| 129 | + */ |
|
| 78 | 130 | public function setExpiresAt(?\DateTimeInterface $date): void; |
| 79 | 131 | |
| 132 | + /** |
|
| 133 | + * @return \DateTimeInterface|null |
|
| 134 | + */ |
|
| 80 | 135 | public function getCredentialsExpireAt(): ?\DateTimeInterface; |
| 81 | 136 | |
| 137 | + /** |
|
| 138 | + * @return void |
|
| 139 | + */ |
|
| 82 | 140 | public function setCredentialsExpireAt(?\DateTimeInterface $date): void; |
| 83 | 141 | |
| 142 | + /** |
|
| 143 | + * @return \DateTimeInterface|null |
|
| 144 | + */ |
|
| 84 | 145 | public function getLastLogin(): ?\DateTimeInterface; |
| 85 | 146 | |
| 147 | + /** |
|
| 148 | + * @return void |
|
| 149 | + */ |
|
| 86 | 150 | public function setLastLogin(?\DateTimeInterface $time): void; |
| 87 | 151 | |
| 88 | 152 | /** |
@@ -95,8 +159,14 @@ discard block |
||
| 95 | 159 | */ |
| 96 | 160 | public function hasRole(string $role): bool; |
| 97 | 161 | |
| 162 | + /** |
|
| 163 | + * @return void |
|
| 164 | + */ |
|
| 98 | 165 | public function addRole(string $role): void; |
| 99 | 166 | |
| 167 | + /** |
|
| 168 | + * @return void |
|
| 169 | + */ |
|
| 100 | 170 | public function removeRole(string $role): void; |
| 101 | 171 | |
| 102 | 172 | /** |
@@ -106,7 +176,15 @@ discard block |
||
| 106 | 176 | |
| 107 | 177 | public function getOAuthAccount(string $provider): ?UserOAuthInterface; |
| 108 | 178 | |
| 179 | + /** |
|
| 180 | + * @return void |
|
| 181 | + */ |
|
| 109 | 182 | public function addOAuthAccount(UserOAuthInterface $oauth): void; |
| 110 | 183 | |
| 184 | + /** |
|
| 185 | + * @param string $encoderName |
|
| 186 | + * |
|
| 187 | + * @return void |
|
| 188 | + */ |
|
| 111 | 189 | public function setEncoderName(?string $encoderName): void; |
| 112 | 190 | } |
@@ -6,10 +6,19 @@ |
||
| 6 | 6 | |
| 7 | 7 | interface ShopBillingDataElementInterface |
| 8 | 8 | { |
| 9 | + /** |
|
| 10 | + * @return void |
|
| 11 | + */ |
|
| 9 | 12 | public function specifyCompany(string $company): void; |
| 10 | 13 | |
| 14 | + /** |
|
| 15 | + * @return void |
|
| 16 | + */ |
|
| 11 | 17 | public function specifyTaxId(string $taxId): void; |
| 12 | 18 | |
| 19 | + /** |
|
| 20 | + * @return void |
|
| 21 | + */ |
|
| 13 | 22 | public function specifyBillingAddress(string $street, string $postcode, string $city, string $countryCode): void; |
| 14 | 23 | |
| 15 | 24 | public function hasCompany(string $company): bool; |
@@ -18,15 +18,30 @@ |
||
| 18 | 18 | |
| 19 | 19 | interface CreateConfigurableProductPageInterface extends BaseCreatePageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function selectOption(string $optionName): void; |
| 22 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 23 | 29 | public function specifyCode(string $code): void; |
| 24 | 30 | |
| 31 | + /** |
|
| 32 | + * @return void |
|
| 33 | + */ |
|
| 25 | 34 | public function nameItIn(string $name, string $localeCode): void; |
| 26 | 35 | |
| 27 | 36 | public function isMainTaxonChosen(string $taxonName): bool; |
| 28 | 37 | |
| 38 | + /** |
|
| 39 | + * @return void |
|
| 40 | + */ |
|
| 29 | 41 | public function selectMainTaxon(TaxonInterface $taxon): void; |
| 30 | 42 | |
| 43 | + /** |
|
| 44 | + * @return void |
|
| 45 | + */ |
|
| 31 | 46 | public function attachImage(string $path, ?string $type = null): void; |
| 32 | 47 | } |
@@ -22,18 +22,21 @@ |
||
| 22 | 22 | /** |
| 23 | 23 | * @throws UnsupportedDriverActionException |
| 24 | 24 | * @throws DriverException |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function authorize(); |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * @throws UnsupportedDriverActionException |
| 30 | 31 | * @throws DriverException |
| 32 | + * @return void |
|
| 31 | 33 | */ |
| 32 | 34 | public function pay(); |
| 33 | 35 | |
| 34 | 36 | /** |
| 35 | 37 | * @throws UnsupportedDriverActionException |
| 36 | 38 | * @throws DriverException |
| 39 | + * @return void |
|
| 37 | 40 | */ |
| 38 | 41 | public function cancel(); |
| 39 | 42 | } |
@@ -19,7 +19,13 @@ |
||
| 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 | |
| 27 | + /** |
|
| 28 | + * @return GatewayConfigInterface |
|
| 29 | + */ |
|
| 24 | 30 | public function getGatewayConfig(): ?GatewayConfigInterface; |
| 25 | 31 | } |
@@ -947,6 +947,9 @@ |
||
| 947 | 947 | $this->objectManager->flush(); |
| 948 | 948 | } |
| 949 | 949 | |
| 950 | + /** |
|
| 951 | + * @param ProductVariantInterface $variant |
|
| 952 | + */ |
|
| 950 | 953 | private function createProductImage( |
| 951 | 954 | ProductInterface $product, |
| 952 | 955 | string $imagePath, |
@@ -37,6 +37,7 @@ |
||
| 37 | 37 | * @Transform /^taxon with "([^"]+)" name/ |
| 38 | 38 | * @Transform /^taxon "([^"]+)"$/ |
| 39 | 39 | * @Transform :taxon |
| 40 | + * @param string $name |
|
| 40 | 41 | */ |
| 41 | 42 | public function getTaxonByName($name) |
| 42 | 43 | { |
@@ -17,26 +17,50 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function setPriority(?int $priority): void; |
| 21 | 24 | |
| 22 | 25 | public function getPriority(): int; |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @return void |
|
| 29 | + */ |
|
| 24 | 30 | public function nameIt(string $name): void; |
| 25 | 31 | |
| 26 | 32 | public function checkChannelsState(string $channelName): bool; |
| 27 | 33 | |
| 28 | 34 | public function isCodeDisabled(): bool; |
| 29 | 35 | |
| 36 | + /** |
|
| 37 | + * @return void |
|
| 38 | + */ |
|
| 30 | 39 | public function fillUsageLimit(string $limit): void; |
| 31 | 40 | |
| 41 | + /** |
|
| 42 | + * @return void |
|
| 43 | + */ |
|
| 32 | 44 | public function makeExclusive(): void; |
| 33 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 34 | 49 | public function checkCouponBased(): void; |
| 35 | 50 | |
| 51 | + /** |
|
| 52 | + * @return void |
|
| 53 | + */ |
|
| 36 | 54 | public function checkChannel(string $name): void; |
| 37 | 55 | |
| 56 | + /** |
|
| 57 | + * @return void |
|
| 58 | + */ |
|
| 38 | 59 | public function setStartsAt(\DateTimeInterface $dateTime): void; |
| 39 | 60 | |
| 61 | + /** |
|
| 62 | + * @return void |
|
| 63 | + */ |
|
| 40 | 64 | public function setEndsAt(\DateTimeInterface $dateTime): void; |
| 41 | 65 | |
| 42 | 66 | public function hasStartsAt(\DateTimeInterface $dateTime): bool; |
@@ -45,6 +69,9 @@ discard block |
||
| 45 | 69 | |
| 46 | 70 | public function isCouponManagementAvailable(): bool; |
| 47 | 71 | |
| 72 | + /** |
|
| 73 | + * @return void |
|
| 74 | + */ |
|
| 48 | 75 | public function manageCoupons(): void; |
| 49 | 76 | |
| 50 | 77 | public function hasAnyRule(): bool; |
@@ -30,24 +30,66 @@ discard block |
||
| 30 | 30 | VersionedInterface, |
| 31 | 31 | ProductImagesAwareInterface |
| 32 | 32 | { |
| 33 | + /** |
|
| 34 | + * @return double |
|
| 35 | + */ |
|
| 33 | 36 | public function getWeight(): ?float; |
| 34 | 37 | |
| 38 | + /** |
|
| 39 | + * @param double $weight |
|
| 40 | + * |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 35 | 43 | public function setWeight(?float $weight): void; |
| 36 | 44 | |
| 45 | + /** |
|
| 46 | + * @return double |
|
| 47 | + */ |
|
| 37 | 48 | public function getWidth(): ?float; |
| 38 | 49 | |
| 50 | + /** |
|
| 51 | + * @param double $width |
|
| 52 | + * |
|
| 53 | + * @return void |
|
| 54 | + */ |
|
| 39 | 55 | public function setWidth(?float $width): void; |
| 40 | 56 | |
| 57 | + /** |
|
| 58 | + * @return double |
|
| 59 | + */ |
|
| 41 | 60 | public function getHeight(): ?float; |
| 42 | 61 | |
| 62 | + /** |
|
| 63 | + * @param double $height |
|
| 64 | + * |
|
| 65 | + * @return void |
|
| 66 | + */ |
|
| 43 | 67 | public function setHeight(?float $height): void; |
| 44 | 68 | |
| 69 | + /** |
|
| 70 | + * @return double |
|
| 71 | + */ |
|
| 45 | 72 | public function getDepth(): ?float; |
| 46 | 73 | |
| 74 | + /** |
|
| 75 | + * @param double $depth |
|
| 76 | + * |
|
| 77 | + * @return void |
|
| 78 | + */ |
|
| 47 | 79 | public function setDepth(?float $depth): void; |
| 48 | 80 | |
| 81 | + /** |
|
| 82 | + * @param TaxCategoryInterface $category |
|
| 83 | + * |
|
| 84 | + * @return void |
|
| 85 | + */ |
|
| 49 | 86 | public function setTaxCategory(?TaxCategoryInterface $category): void; |
| 50 | 87 | |
| 88 | + /** |
|
| 89 | + * @param ShippingCategoryInterface $shippingCategory |
|
| 90 | + * |
|
| 91 | + * @return void |
|
| 92 | + */ |
|
| 51 | 93 | public function setShippingCategory(?ShippingCategoryInterface $shippingCategory): void; |
| 52 | 94 | |
| 53 | 95 | /** |
@@ -61,11 +103,20 @@ discard block |
||
| 61 | 103 | |
| 62 | 104 | public function hasChannelPricing(ChannelPricingInterface $channelPricing): bool; |
| 63 | 105 | |
| 106 | + /** |
|
| 107 | + * @return void |
|
| 108 | + */ |
|
| 64 | 109 | public function addChannelPricing(ChannelPricingInterface $channelPricing): void; |
| 65 | 110 | |
| 111 | + /** |
|
| 112 | + * @return void |
|
| 113 | + */ |
|
| 66 | 114 | public function removeChannelPricing(ChannelPricingInterface $channelPricing): void; |
| 67 | 115 | |
| 68 | 116 | public function isShippingRequired(): bool; |
| 69 | 117 | |
| 118 | + /** |
|
| 119 | + * @return void |
|
| 120 | + */ |
|
| 70 | 121 | public function setShippingRequired(bool $shippingRequired): void; |
| 71 | 122 | } |