@@ -17,8 +17,14 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function enable(); |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function disable(); |
| 23 | 29 | |
| 24 | 30 | /** |
@@ -44,28 +50,36 @@ discard block |
||
| 44 | 50 | * @param string $name |
| 45 | 51 | * @param string $code |
| 46 | 52 | * @param string|null $abbreviation |
| 53 | + * @return void |
|
| 47 | 54 | */ |
| 48 | 55 | public function addProvince($name, $code, $abbreviation = null); |
| 49 | 56 | |
| 50 | 57 | /** |
| 51 | 58 | * @param string $provinceName |
| 59 | + * @return void |
|
| 52 | 60 | */ |
| 53 | 61 | public function removeProvince($provinceName); |
| 54 | 62 | |
| 63 | + /** |
|
| 64 | + * @return void |
|
| 65 | + */ |
|
| 55 | 66 | public function clickAddProvinceButton(); |
| 56 | 67 | |
| 57 | 68 | /** |
| 58 | 69 | * @param string $provinceName |
| 70 | + * @return void |
|
| 59 | 71 | */ |
| 60 | 72 | public function nameProvince($provinceName); |
| 61 | 73 | |
| 62 | 74 | /** |
| 63 | 75 | * @param string $provinceName |
| 76 | + * @return void |
|
| 64 | 77 | */ |
| 65 | 78 | public function removeProvinceName($provinceName); |
| 66 | 79 | |
| 67 | 80 | /** |
| 68 | 81 | * @param string $provinceCode |
| 82 | + * @return void |
|
| 69 | 83 | */ |
| 70 | 84 | public function specifyProvinceCode($provinceCode); |
| 71 | 85 | } |
@@ -17,8 +17,14 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function enable(); |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function disable(); |
| 23 | 29 | |
| 24 | 30 | /** |
@@ -33,6 +39,7 @@ discard block |
||
| 33 | 39 | |
| 34 | 40 | /** |
| 35 | 41 | * @param string $exchangeRate |
| 42 | + * @return void |
|
| 36 | 43 | */ |
| 37 | 44 | public function changeExchangeRate($exchangeRate); |
| 38 | 45 | |
@@ -17,8 +17,14 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function enable(); |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function disable(); |
| 23 | 29 | |
| 24 | 30 | /** |
@@ -28,6 +34,7 @@ discard block |
||
| 28 | 34 | |
| 29 | 35 | /** |
| 30 | 36 | * @param string $firstName |
| 37 | + * @return void |
|
| 31 | 38 | */ |
| 32 | 39 | public function changeFirstName($firstName); |
| 33 | 40 | |
@@ -38,6 +45,7 @@ discard block |
||
| 38 | 45 | |
| 39 | 46 | /** |
| 40 | 47 | * @param string $lastName |
| 48 | + * @return void |
|
| 41 | 49 | */ |
| 42 | 50 | public function changeLastName($lastName); |
| 43 | 51 | |
@@ -48,11 +56,13 @@ discard block |
||
| 48 | 56 | |
| 49 | 57 | /** |
| 50 | 58 | * @param string $email |
| 59 | + * @return void |
|
| 51 | 60 | */ |
| 52 | 61 | public function changeEmail($email); |
| 53 | 62 | |
| 54 | 63 | /** |
| 55 | 64 | * @param string $password |
| 65 | + * @return void |
|
| 56 | 66 | */ |
| 57 | 67 | public function changePassword($password); |
| 58 | 68 | |
@@ -61,6 +71,9 @@ discard block |
||
| 61 | 71 | */ |
| 62 | 72 | public function getPassword(); |
| 63 | 73 | |
| 74 | + /** |
|
| 75 | + * @return void |
|
| 76 | + */ |
|
| 64 | 77 | public function subscribeToTheNewsletter(); |
| 65 | 78 | |
| 66 | 79 | /** |
@@ -17,60 +17,76 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function enable(); |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function disable(); |
| 23 | 29 | |
| 24 | 30 | /** |
| 25 | 31 | * @param string $name |
| 26 | 32 | * @param string $languageCode |
| 33 | + * @return void |
|
| 27 | 34 | */ |
| 28 | 35 | public function nameIt($name, $languageCode); |
| 29 | 36 | |
| 30 | 37 | /** |
| 31 | 38 | * @param string $code |
| 39 | + * @return void |
|
| 32 | 40 | */ |
| 33 | 41 | public function specifyCode($code); |
| 34 | 42 | |
| 35 | 43 | /** |
| 36 | 44 | * @param string $channelName |
| 45 | + * @return void |
|
| 37 | 46 | */ |
| 38 | 47 | public function checkChannel($channelName); |
| 39 | 48 | |
| 40 | 49 | /** |
| 41 | 50 | * @param string $description |
| 42 | 51 | * @param string $languageCode |
| 52 | + * @return void |
|
| 43 | 53 | */ |
| 44 | 54 | public function describeIt($description, $languageCode); |
| 45 | 55 | |
| 46 | 56 | /** |
| 47 | 57 | * @param string $instructions |
| 48 | 58 | * @param string $languageCode |
| 59 | + * @return void |
|
| 49 | 60 | */ |
| 50 | 61 | public function setInstructions($instructions, $languageCode); |
| 51 | 62 | |
| 52 | 63 | /** |
| 53 | 64 | * @param string $username |
| 65 | + * @return void |
|
| 54 | 66 | */ |
| 55 | 67 | public function setPaypalGatewayUsername($username); |
| 56 | 68 | |
| 57 | 69 | /** |
| 58 | 70 | * @param string $password |
| 71 | + * @return void |
|
| 59 | 72 | */ |
| 60 | 73 | public function setPaypalGatewayPassword($password); |
| 61 | 74 | |
| 62 | 75 | /** |
| 63 | 76 | * @param string $signature |
| 77 | + * @return void |
|
| 64 | 78 | */ |
| 65 | 79 | public function setPaypalGatewaySignature($signature); |
| 66 | 80 | |
| 67 | 81 | /** |
| 68 | 82 | * @param string $secretKey |
| 83 | + * @return void |
|
| 69 | 84 | */ |
| 70 | 85 | public function setStripeSecretKey($secretKey); |
| 71 | 86 | |
| 72 | 87 | /** |
| 73 | 88 | * @param string $publishableKey |
| 89 | + * @return void |
|
| 74 | 90 | */ |
| 75 | 91 | public function setStripePublishableKey($publishableKey); |
| 76 | 92 | |
@@ -17,28 +17,38 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function enable(); |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function disable(); |
| 23 | 29 | |
| 24 | 30 | /** |
| 25 | 31 | * @param string $name |
| 26 | 32 | * @param string $languageCode |
| 33 | + * @return void |
|
| 27 | 34 | */ |
| 28 | 35 | public function nameIt($name, $languageCode); |
| 29 | 36 | |
| 30 | 37 | /** |
| 31 | 38 | * @param string $username |
| 39 | + * @return void |
|
| 32 | 40 | */ |
| 33 | 41 | public function setPaypalGatewayUsername($username); |
| 34 | 42 | |
| 35 | 43 | /** |
| 36 | 44 | * @param string $password |
| 45 | + * @return void |
|
| 37 | 46 | */ |
| 38 | 47 | public function setPaypalGatewayPassword($password); |
| 39 | 48 | |
| 40 | 49 | /** |
| 41 | 50 | * @param string $signature |
| 51 | + * @return void |
|
| 42 | 52 | */ |
| 43 | 53 | public function setPaypalGatewaySignature($signature); |
| 44 | 54 | |
@@ -17,23 +17,29 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface GeneratePageInterface extends SymfonyPageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function generate(); |
| 21 | 24 | |
| 22 | 25 | /** |
| 23 | 26 | * @param int $nth |
| 24 | 27 | * @param int $price |
| 25 | 28 | * @param string $channelName |
| 29 | + * @return void |
|
| 26 | 30 | */ |
| 27 | 31 | public function specifyPrice($nth, $price, $channelName); |
| 28 | 32 | |
| 29 | 33 | /** |
| 30 | 34 | * @param int $nth |
| 31 | 35 | * @param string $code |
| 36 | + * @return void |
|
| 32 | 37 | */ |
| 33 | 38 | public function specifyCode($nth, $code); |
| 34 | 39 | |
| 35 | 40 | /** |
| 36 | 41 | * @param int $nth |
| 42 | + * @return void |
|
| 37 | 43 | */ |
| 38 | 44 | public function removeVariant($nth); |
| 39 | 45 | |
@@ -17,20 +17,26 @@ discard block |
||
| 17 | 17 | |
| 18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 20 | 23 | public function addMember(); |
| 21 | 24 | |
| 22 | 25 | /** |
| 23 | 26 | * @param string $message |
| 27 | + * @return boolean |
|
| 24 | 28 | */ |
| 25 | 29 | public function checkValidationMessageForMembers($message); |
| 26 | 30 | |
| 27 | 31 | /** |
| 28 | 32 | * @param string $name |
| 33 | + * @return void |
|
| 29 | 34 | */ |
| 30 | 35 | public function chooseMember($name); |
| 31 | 36 | |
| 32 | 37 | /** |
| 33 | 38 | * @param string $scope |
| 39 | + * @return void |
|
| 34 | 40 | */ |
| 35 | 41 | public function selectScope($scope); |
| 36 | 42 | |
@@ -48,11 +54,13 @@ discard block |
||
| 48 | 54 | |
| 49 | 55 | /** |
| 50 | 56 | * @param string $name |
| 57 | + * @return void |
|
| 51 | 58 | */ |
| 52 | 59 | public function nameIt($name); |
| 53 | 60 | |
| 54 | 61 | /** |
| 55 | 62 | * @param string $code |
| 63 | + * @return void |
|
| 56 | 64 | */ |
| 57 | 65 | public function specifyCode($code); |
| 58 | 66 | } |
@@ -15,8 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Doctrine\Common\Persistence\ObjectManager; |
| 17 | 17 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
| 18 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 19 | 18 | use Sylius\Component\Review\Model\ReviewInterface; |
| 19 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
| 20 | 20 | |
| 21 | 21 | class AverageRatingUpdater implements ReviewableRatingUpdaterInterface |
| 22 | 22 | { |
@@ -15,5 +15,8 @@ |
||
| 15 | 15 | |
| 16 | 16 | interface UnpaidOrdersStateUpdaterInterface |
| 17 | 17 | { |
| 18 | + /** |
|
| 19 | + * @return void |
|
| 20 | + */ |
|
| 18 | 21 | public function cancel(): void; |
| 19 | 22 | } |