@@ -39,25 +39,32 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function checkGenerationValidation($message); |
| 41 | 41 | |
| 42 | + /** |
|
| 43 | + * @return void |
|
| 44 | + */ |
|
| 42 | 45 | public function generate(); |
| 43 | 46 | |
| 44 | 47 | /** |
| 45 | 48 | * @param int $amount |
| 49 | + * @return void |
|
| 46 | 50 | */ |
| 47 | 51 | public function specifyAmount($amount); |
| 48 | 52 | |
| 49 | 53 | /** |
| 50 | 54 | * @param int $codeLength |
| 55 | + * @return void |
|
| 51 | 56 | */ |
| 52 | 57 | public function specifyCodeLength($codeLength); |
| 53 | 58 | |
| 54 | 59 | /** |
| 55 | 60 | * @param \DateTimeInterface $date |
| 61 | + * @return void |
|
| 56 | 62 | */ |
| 57 | 63 | public function setExpiresAt(\DateTimeInterface $date); |
| 58 | 64 | |
| 59 | 65 | /** |
| 60 | 66 | * @param int $limit |
| 67 | + * @return void |
|
| 61 | 68 | */ |
| 62 | 69 | public function setUsageLimit($limit); |
| 63 | 70 | } |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\PromotionCoupon; |
| 15 | 15 | |
@@ -25,16 +25,19 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @param int $limit |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function setCustomerUsageLimit($limit); |
| 30 | 31 | |
| 31 | 32 | /** |
| 32 | 33 | * @param \DateTimeInterface $date |
| 34 | + * @return void |
|
| 33 | 35 | */ |
| 34 | 36 | public function setExpiresAt(\DateTimeInterface $date); |
| 35 | 37 | |
| 36 | 38 | /** |
| 37 | 39 | * @param int $limit |
| 40 | + * @return void |
|
| 38 | 41 | */ |
| 39 | 42 | public function setUsageLimit($limit); |
| 40 | 43 | } |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Admin\PromotionCoupon; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\CoreBundle\Application\Kernel; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Shop\ProductReview; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Shop\Order; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Shop\Contact; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Shop; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Behat\Page\Shop\Checkout; |
| 15 | 15 | |
@@ -23,6 +23,7 @@ discard block |
||
| 23 | 23 | { |
| 24 | 24 | /** |
| 25 | 25 | * @throws \RuntimeException |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function chooseDifferentBillingAddress(); |
| 28 | 29 | |
@@ -41,21 +42,25 @@ discard block |
||
| 41 | 42 | |
| 42 | 43 | /** |
| 43 | 44 | * @param AddressInterface $billingAddress |
| 45 | + * @return void |
|
| 44 | 46 | */ |
| 45 | 47 | public function specifyBillingAddress(AddressInterface $billingAddress); |
| 46 | 48 | |
| 47 | 49 | /** |
| 48 | 50 | * @param string $province |
| 51 | + * @return void |
|
| 49 | 52 | */ |
| 50 | 53 | public function selectBillingAddressProvince($province); |
| 51 | 54 | |
| 52 | 55 | /** |
| 53 | 56 | * @param AddressInterface $shippingAddress |
| 57 | + * @return void |
|
| 54 | 58 | */ |
| 55 | 59 | public function specifyShippingAddress(AddressInterface $shippingAddress); |
| 56 | 60 | |
| 57 | 61 | /** |
| 58 | 62 | * @param string $province |
| 63 | + * @return void |
|
| 59 | 64 | */ |
| 60 | 65 | public function selectShippingAddressProvince($province); |
| 61 | 66 | |
@@ -64,20 +69,26 @@ discard block |
||
| 64 | 69 | */ |
| 65 | 70 | public function canSignIn(); |
| 66 | 71 | |
| 72 | + /** |
|
| 73 | + * @return void |
|
| 74 | + */ |
|
| 67 | 75 | public function signIn(); |
| 68 | 76 | |
| 69 | 77 | /** |
| 70 | 78 | * @param string $email |
| 79 | + * @return void |
|
| 71 | 80 | */ |
| 72 | 81 | public function specifyEmail($email); |
| 73 | 82 | |
| 74 | 83 | /** |
| 75 | 84 | * @param string $fullName |
| 85 | + * @return void |
|
| 76 | 86 | */ |
| 77 | 87 | public function specifyShippingAddressFullName(string $fullName); |
| 78 | 88 | |
| 79 | 89 | /** |
| 80 | 90 | * @param string $password |
| 91 | + * @return void |
|
| 81 | 92 | */ |
| 82 | 93 | public function specifyPassword($password); |
| 83 | 94 | |
@@ -93,17 +104,25 @@ discard block |
||
| 93 | 104 | */ |
| 94 | 105 | public function getShippingAddressCountry(); |
| 95 | 106 | |
| 107 | + /** |
|
| 108 | + * @return void |
|
| 109 | + */ |
|
| 96 | 110 | public function nextStep(); |
| 97 | 111 | |
| 112 | + /** |
|
| 113 | + * @return void |
|
| 114 | + */ |
|
| 98 | 115 | public function backToStore(); |
| 99 | 116 | |
| 100 | 117 | /** |
| 101 | 118 | * @param string $provinceName |
| 119 | + * @return void |
|
| 102 | 120 | */ |
| 103 | 121 | public function specifyBillingAddressProvince($provinceName); |
| 104 | 122 | |
| 105 | 123 | /** |
| 106 | 124 | * @param string $provinceName |
| 125 | + * @return void |
|
| 107 | 126 | */ |
| 108 | 127 | public function specifyShippingAddressProvince($provinceName); |
| 109 | 128 | |
@@ -119,11 +138,13 @@ discard block |
||
| 119 | 138 | |
| 120 | 139 | /** |
| 121 | 140 | * @param AddressInterface $address |
| 141 | + * @return void |
|
| 122 | 142 | */ |
| 123 | 143 | public function selectShippingAddressFromAddressBook(AddressInterface $address); |
| 124 | 144 | |
| 125 | 145 | /** |
| 126 | 146 | * @param AddressInterface $address |
| 147 | + * @return void |
|
| 127 | 148 | */ |
| 128 | 149 | public function selectBillingAddressFromAddressBook(AddressInterface $address); |
| 129 | 150 | |