@@ -32,6 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param null|\DateTime $checkoutCompletedAt |
| 35 | + * @return void |
|
| 35 | 36 | */ |
| 36 | 37 | public function setCheckoutCompletedAt(\DateTime $checkoutCompletedAt = null); |
| 37 | 38 | |
@@ -40,6 +41,9 @@ discard block |
||
| 40 | 41 | */ |
| 41 | 42 | public function isCheckoutCompleted(); |
| 42 | 43 | |
| 44 | + /** |
|
| 45 | + * @return void |
|
| 46 | + */ |
|
| 43 | 47 | public function completeCheckout(); |
| 44 | 48 | |
| 45 | 49 | /** |
@@ -49,6 +53,7 @@ discard block |
||
| 49 | 53 | |
| 50 | 54 | /** |
| 51 | 55 | * @param string |
| 56 | + * @return void |
|
| 52 | 57 | */ |
| 53 | 58 | public function setNumber($number); |
| 54 | 59 | |
@@ -59,6 +64,7 @@ discard block |
||
| 59 | 64 | |
| 60 | 65 | /** |
| 61 | 66 | * @param string $notes |
| 67 | + * @return void |
|
| 62 | 68 | */ |
| 63 | 69 | public function setNotes($notes); |
| 64 | 70 | |
@@ -67,6 +73,9 @@ discard block |
||
| 67 | 73 | */ |
| 68 | 74 | public function getItems(); |
| 69 | 75 | |
| 76 | + /** |
|
| 77 | + * @return void |
|
| 78 | + */ |
|
| 70 | 79 | public function clearItems(); |
| 71 | 80 | |
| 72 | 81 | /** |
@@ -76,11 +85,13 @@ discard block |
||
| 76 | 85 | |
| 77 | 86 | /** |
| 78 | 87 | * @param OrderItemInterface $item |
| 88 | + * @return void |
|
| 79 | 89 | */ |
| 80 | 90 | public function addItem(OrderItemInterface $item); |
| 81 | 91 | |
| 82 | 92 | /** |
| 83 | 93 | * @param OrderItemInterface $item |
| 94 | + * @return void |
|
| 84 | 95 | */ |
| 85 | 96 | public function removeItem(OrderItemInterface $item); |
| 86 | 97 | |
@@ -96,6 +107,9 @@ discard block |
||
| 96 | 107 | */ |
| 97 | 108 | public function getItemsTotal(); |
| 98 | 109 | |
| 110 | + /** |
|
| 111 | + * @return void |
|
| 112 | + */ |
|
| 99 | 113 | public function recalculateItemsTotal(); |
| 100 | 114 | |
| 101 | 115 | /** |
@@ -115,6 +129,7 @@ discard block |
||
| 115 | 129 | |
| 116 | 130 | /** |
| 117 | 131 | * @param string $state |
| 132 | + * @return void |
|
| 118 | 133 | */ |
| 119 | 134 | public function setState($state); |
| 120 | 135 | |
@@ -139,6 +154,7 @@ discard block |
||
| 139 | 154 | |
| 140 | 155 | /** |
| 141 | 156 | * @param string|null $type |
| 157 | + * @return void |
|
| 142 | 158 | */ |
| 143 | 159 | public function removeAdjustmentsRecursively($type = null); |
| 144 | 160 | } |
@@ -18,20 +18,26 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | interface CreatePageInterface extends BaseCreatePageInterface |
| 20 | 20 | { |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 21 | 24 | public function addMember(); |
| 22 | 25 | |
| 23 | 26 | /** |
| 24 | 27 | * @param string $message |
| 28 | + * @return boolean |
|
| 25 | 29 | */ |
| 26 | 30 | public function checkValidationMessageForMembers($message); |
| 27 | 31 | |
| 28 | 32 | /** |
| 29 | 33 | * @param string $name |
| 34 | + * @return void |
|
| 30 | 35 | */ |
| 31 | 36 | public function chooseMember($name); |
| 32 | 37 | |
| 33 | 38 | /** |
| 34 | 39 | * @param string $scope |
| 40 | + * @return void |
|
| 35 | 41 | */ |
| 36 | 42 | public function selectScope($scope); |
| 37 | 43 | |
@@ -49,11 +55,13 @@ discard block |
||
| 49 | 55 | |
| 50 | 56 | /** |
| 51 | 57 | * @param string $name |
| 58 | + * @return void |
|
| 52 | 59 | */ |
| 53 | 60 | public function nameIt($name); |
| 54 | 61 | |
| 55 | 62 | /** |
| 56 | 63 | * @param string $code |
| 64 | + * @return void |
|
| 57 | 65 | */ |
| 58 | 66 | public function specifyCode($code); |
| 59 | 67 | } |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * @param string $field |
| 60 | - * @param mixed $value |
|
| 60 | + * @param string $value |
|
| 61 | 61 | * |
| 62 | 62 | * @return self |
| 63 | 63 | */ |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * @param string $field |
| 84 | - * @param mixed $value |
|
| 84 | + * @param string $value |
|
| 85 | 85 | * |
| 86 | 86 | * @return self |
| 87 | 87 | */ |
@@ -84,6 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * @param Collaborator[] ...$collaborators |
| 87 | + * @param FixtureInterface $collaborators |
|
| 87 | 88 | * |
| 88 | 89 | * @return \Generator |
| 89 | 90 | */ |
@@ -31,10 +31,19 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function isAvailableInChannel($channelName); |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @return void |
|
| 36 | + */ |
|
| 34 | 37 | public function enable(); |
| 35 | 38 | |
| 39 | + /** |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 36 | 42 | public function disable(); |
| 37 | 43 | |
| 44 | + /** |
|
| 45 | + * @return void |
|
| 46 | + */ |
|
| 38 | 47 | public function removeZone(); |
| 39 | 48 | |
| 40 | 49 | /** |
@@ -20,6 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $shippingMethod |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function selectShippingMethod($shippingMethod); |
| 25 | 26 | |
@@ -48,14 +49,23 @@ discard block |
||
| 48 | 49 | */ |
| 49 | 50 | public function getItemSubtotal($itemName); |
| 50 | 51 | |
| 52 | + /** |
|
| 53 | + * @return void |
|
| 54 | + */ |
|
| 51 | 55 | public function nextStep(); |
| 52 | 56 | |
| 57 | + /** |
|
| 58 | + * @return void |
|
| 59 | + */ |
|
| 53 | 60 | public function changeAddress(); |
| 54 | 61 | |
| 62 | + /** |
|
| 63 | + * @return void |
|
| 64 | + */ |
|
| 55 | 65 | public function changeAddressByStepLabel(); |
| 56 | 66 | |
| 57 | 67 | /** |
| 58 | - * @return mixed string |
|
| 68 | + * @return string string |
|
| 59 | 69 | */ |
| 60 | 70 | public function getPurchaserEmail(); |
| 61 | 71 | |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | * @param PaymentInterface $payment |
| 107 | 107 | * @param OrderInterface $order |
| 108 | 108 | * |
| 109 | - * @return PaymentMethodInterface|null |
|
| 109 | + * @return \Sylius\Component\Payment\Model\PaymentMethodInterface|null |
|
| 110 | 110 | */ |
| 111 | 111 | private function getDefaultPaymentMethod(PaymentInterface $payment, OrderInterface $order) |
| 112 | 112 | { |
@@ -429,6 +429,8 @@ |
||
| 429 | 429 | } |
| 430 | 430 | |
| 431 | 431 | /** |
| 432 | + * @param integer $timeout |
|
| 433 | + * @param string $elementName |
|
| 432 | 434 | * @return bool |
| 433 | 435 | */ |
| 434 | 436 | private function waitForElement($timeout, $elementName) |
@@ -505,6 +505,7 @@ |
||
| 505 | 505 | |
| 506 | 506 | /** |
| 507 | 507 | * {@inheritdoc} |
| 508 | + * @param string $localeCode |
|
| 508 | 509 | */ |
| 509 | 510 | private function getAttributeInDifferentLocale(ProductAttributeValueInterface $attributeValue, $localeCode) |
| 510 | 511 | { |