@@ -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 |
@@ -129,7 +129,6 @@ |
||
129 | 129 | } |
130 | 130 | |
131 | 131 | /** |
132 | - * @param PromotionDynamicTypeInterface|null $type |
|
133 | 132 | * @param FormInterface $form |
134 | 133 | * |
135 | 134 | * @return null|string |
@@ -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 | { |
@@ -81,7 +81,7 @@ |
||
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 | */ |
@@ -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) |
@@ -27,11 +27,18 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param int $price |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function specifyPrice($price); |
32 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
33 | 37 | public function disableTracking(); |
34 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
35 | 42 | public function enableTracking(); |
36 | 43 | |
37 | 44 | /** |
@@ -63,6 +70,7 @@ discard block |
||
63 | 70 | |
64 | 71 | /** |
65 | 72 | * @param int $amount |
73 | + * @return void |
|
66 | 74 | */ |
67 | 75 | public function specifyCurrentStock($amount); |
68 | 76 | } |
@@ -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 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | protected $data; |
41 | 41 | |
42 | 42 | /** |
43 | - * @param mixed $message |
|
43 | + * @param \Swift_Message $message |
|
44 | 44 | * @param array $recipients |
45 | 45 | * @param EmailInterface $email |
46 | 46 | * @param array $data |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
57 | - * @return array |
|
57 | + * @return string[] |
|
58 | 58 | */ |
59 | 59 | public function getRecipients() |
60 | 60 | { |
@@ -38,6 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @param null|PaymentMethodInterface $method |
41 | + * @return void |
|
41 | 42 | */ |
42 | 43 | public function setMethod(PaymentMethodInterface $method = null); |
43 | 44 | |
@@ -48,6 +49,7 @@ discard block |
||
48 | 49 | |
49 | 50 | /** |
50 | 51 | * @param string $state |
52 | + * @return void |
|
51 | 53 | */ |
52 | 54 | public function setState($state); |
53 | 55 | |
@@ -58,6 +60,8 @@ discard block |
||
58 | 60 | |
59 | 61 | /** |
60 | 62 | * @param string |
63 | + * @param string $currencyCode |
|
64 | + * @return void |
|
61 | 65 | */ |
62 | 66 | public function setCurrencyCode($currencyCode); |
63 | 67 | |
@@ -68,6 +72,7 @@ discard block |
||
68 | 72 | |
69 | 73 | /** |
70 | 74 | * @param int $amount |
75 | + * @return void |
|
71 | 76 | */ |
72 | 77 | public function setAmount($amount); |
73 | 78 | |
@@ -78,6 +83,7 @@ discard block |
||
78 | 83 | |
79 | 84 | /** |
80 | 85 | * @param array|\Traversable $details |
86 | + * @return void |
|
81 | 87 | */ |
82 | 88 | public function setDetails($details); |
83 | 89 | } |