@@ -20,6 +20,8 @@ |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * {@inheritdoc} |
| 23 | + * @param string $message |
|
| 24 | + * @param CurrencyNotFoundException $previousException |
|
| 23 | 25 | */ |
| 24 | 26 | public function __construct(?string $message = null, ?\Exception $previousException = null) |
| 25 | 27 | { |
@@ -34,11 +34,13 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param CurrencyInterface $currency |
| 37 | + * @return void |
|
| 37 | 38 | */ |
| 38 | 39 | public function addCurrency(CurrencyInterface $currency): void; |
| 39 | 40 | |
| 40 | 41 | /** |
| 41 | 42 | * @param CurrencyInterface $currency |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function removeCurrency(CurrencyInterface $currency): void; |
| 44 | 46 | } |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param float|null $ratio |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setRatio(?float $ratio); |
| 32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param CurrencyInterface $currency |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function setSourceCurrency(CurrencyInterface $currency): void; |
| 42 | 44 | |
@@ -47,6 +49,7 @@ discard block |
||
| 47 | 49 | |
| 48 | 50 | /** |
| 49 | 51 | * @param CurrencyInterface $currency |
| 52 | + * @return void |
|
| 50 | 53 | */ |
| 51 | 54 | public function setTargetCurrency(CurrencyInterface $currency): void; |
| 52 | 55 | } |
@@ -20,6 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * {@inheritdoc} |
| 23 | + * @param string $message |
|
| 23 | 24 | */ |
| 24 | 25 | public function __construct(?string $message = null, \Exception $previousException = null) |
| 25 | 26 | { |
@@ -38,7 +39,7 @@ discard block |
||
| 38 | 39 | |
| 39 | 40 | /** |
| 40 | 41 | * @param string $localeCode |
| 41 | - * @param array $availableLocalesCodes |
|
| 42 | + * @param string[] $availableLocalesCodes |
|
| 42 | 43 | * |
| 43 | 44 | * @return self |
| 44 | 45 | */ |
@@ -34,11 +34,13 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @param LocaleInterface $locale |
| 37 | + * @return void |
|
| 37 | 38 | */ |
| 38 | 39 | public function addLocale(LocaleInterface $locale): void; |
| 39 | 40 | |
| 40 | 41 | /** |
| 41 | 42 | * @param LocaleInterface $locale |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function removeLocale(LocaleInterface $locale): void; |
| 44 | 46 | } |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @param CustomerInterface|null $customer |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function setCustomer(?CustomerInterface $customer): void; |
| 30 | 31 | } |
@@ -29,6 +29,7 @@ |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param string|null $name |
| 32 | + * @return void |
|
| 32 | 33 | */ |
| 33 | 34 | public function setName(?string $name): void; |
| 34 | 35 | } |
@@ -32,6 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param string|null $email |
| 35 | + * @return void |
|
| 35 | 36 | */ |
| 36 | 37 | public function setEmail(?string $email): void; |
| 37 | 38 | |
@@ -44,6 +45,7 @@ discard block |
||
| 44 | 45 | |
| 45 | 46 | /** |
| 46 | 47 | * @param string|null $emailCanonical |
| 48 | + * @return void |
|
| 47 | 49 | */ |
| 48 | 50 | public function setEmailCanonical(?string $emailCanonical): void; |
| 49 | 51 | |
@@ -59,6 +61,7 @@ discard block |
||
| 59 | 61 | |
| 60 | 62 | /** |
| 61 | 63 | * @param string|null $firstName |
| 64 | + * @return void |
|
| 62 | 65 | */ |
| 63 | 66 | public function setFirstName(?string $firstName): void; |
| 64 | 67 | |
@@ -69,6 +72,7 @@ discard block |
||
| 69 | 72 | |
| 70 | 73 | /** |
| 71 | 74 | * @param string|null $lastName |
| 75 | + * @return void |
|
| 72 | 76 | */ |
| 73 | 77 | public function setLastName(?string $lastName): void; |
| 74 | 78 | |
@@ -79,6 +83,7 @@ discard block |
||
| 79 | 83 | |
| 80 | 84 | /** |
| 81 | 85 | * @param \DateTimeInterface|null $birthday |
| 86 | + * @return void |
|
| 82 | 87 | */ |
| 83 | 88 | public function setBirthday(?\DateTimeInterface $birthday): void; |
| 84 | 89 | |
@@ -91,6 +96,7 @@ discard block |
||
| 91 | 96 | * You should use interface constants for that. |
| 92 | 97 | * |
| 93 | 98 | * @param string $gender |
| 99 | + * @return void |
|
| 94 | 100 | */ |
| 95 | 101 | public function setGender(string $gender): void; |
| 96 | 102 | |
@@ -111,6 +117,7 @@ discard block |
||
| 111 | 117 | |
| 112 | 118 | /** |
| 113 | 119 | * @param CustomerGroupInterface|null $group |
| 120 | + * @return void |
|
| 114 | 121 | */ |
| 115 | 122 | public function setGroup(?CustomerGroupInterface $group): void; |
| 116 | 123 | |
@@ -121,6 +128,7 @@ discard block |
||
| 121 | 128 | |
| 122 | 129 | /** |
| 123 | 130 | * @param string|null $phoneNumber |
| 131 | + * @return void |
|
| 124 | 132 | */ |
| 125 | 133 | public function setPhoneNumber(?string $phoneNumber): void; |
| 126 | 134 | |
@@ -131,6 +139,7 @@ discard block |
||
| 131 | 139 | |
| 132 | 140 | /** |
| 133 | 141 | * @param bool $subscribedToNewsletter |
| 142 | + * @return void |
|
| 134 | 143 | */ |
| 135 | 144 | public function setSubscribedToNewsletter(bool $subscribedToNewsletter): void; |
| 136 | 145 | } |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string|null $email |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setEmail(?string $email): void; |
| 32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param string|null $firstName |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function setFirstName(?string $firstName): void; |
| 42 | 44 | |
@@ -47,6 +49,7 @@ discard block |
||
| 47 | 49 | |
| 48 | 50 | /** |
| 49 | 51 | * @param string|null $lastName |
| 52 | + * @return void |
|
| 50 | 53 | */ |
| 51 | 54 | public function setLastName(?string $lastName): void; |
| 52 | 55 | } |