@@ -110,7 +110,7 @@ |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | - * @return array |
|
| 113 | + * @return \Generator |
|
| 114 | 114 | */ |
| 115 | 115 | private function getLocales() |
| 116 | 116 | { |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Context\Transform; |
| 13 | 13 | |
| 14 | 14 | use Behat\Behat\Context\Context; |
| 15 | -use Sylius\Component\Core\Model\OrderInterface; |
|
| 16 | 15 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
| 17 | 16 | use Sylius\Component\User\Repository\CustomerRepositoryInterface; |
| 18 | 17 | use Webmozart\Assert\Assert; |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -41,6 +41,9 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public function isCompleted(); |
| 43 | 43 | |
| 44 | + /** |
|
| 45 | + * @return void |
|
| 46 | + */ |
|
| 44 | 47 | public function complete(); |
| 45 | 48 | |
| 46 | 49 | /** |
@@ -50,6 +53,7 @@ discard block |
||
| 50 | 53 | |
| 51 | 54 | /** |
| 52 | 55 | * @param null|\DateTime $completedAt |
| 56 | + * @return void |
|
| 53 | 57 | */ |
| 54 | 58 | public function setCompletedAt(\DateTime $completedAt = null); |
| 55 | 59 | |
@@ -60,6 +64,7 @@ discard block |
||
| 60 | 64 | |
| 61 | 65 | /** |
| 62 | 66 | * @param string $notes |
| 67 | + * @return void |
|
| 63 | 68 | */ |
| 64 | 69 | public function setNotes($notes); |
| 65 | 70 | |
@@ -75,11 +80,13 @@ discard block |
||
| 75 | 80 | |
| 76 | 81 | /** |
| 77 | 82 | * @param OrderItemInterface $item |
| 83 | + * @return void |
|
| 78 | 84 | */ |
| 79 | 85 | public function addItem(OrderItemInterface $item); |
| 80 | 86 | |
| 81 | 87 | /** |
| 82 | 88 | * @param OrderItemInterface $item |
| 89 | + * @return void |
|
| 83 | 90 | */ |
| 84 | 91 | public function removeItem(OrderItemInterface $item); |
| 85 | 92 | |
@@ -95,6 +102,9 @@ discard block |
||
| 95 | 102 | */ |
| 96 | 103 | public function getItemsTotal(); |
| 97 | 104 | |
| 105 | + /** |
|
| 106 | + * @return void |
|
| 107 | + */ |
|
| 98 | 108 | public function recalculateItemsTotal(); |
| 99 | 109 | |
| 100 | 110 | /** |
@@ -112,6 +122,9 @@ discard block |
||
| 112 | 122 | */ |
| 113 | 123 | public function isEmpty(); |
| 114 | 124 | |
| 125 | + /** |
|
| 126 | + * @return void |
|
| 127 | + */ |
|
| 115 | 128 | public function clearItems(); |
| 116 | 129 | |
| 117 | 130 | /** |
@@ -121,6 +134,7 @@ discard block |
||
| 121 | 134 | |
| 122 | 135 | /** |
| 123 | 136 | * @param string $state |
| 137 | + * @return void |
|
| 124 | 138 | */ |
| 125 | 139 | public function setState($state); |
| 126 | 140 | |
@@ -128,11 +142,13 @@ discard block |
||
| 128 | 142 | * Add an identity to this order. Eg. external identity to refer to an ebay order id. |
| 129 | 143 | * |
| 130 | 144 | * @param IdentityInterface $identity |
| 145 | + * @return void |
|
| 131 | 146 | */ |
| 132 | 147 | public function addIdentity(IdentityInterface $identity); |
| 133 | 148 | |
| 134 | 149 | /** |
| 135 | 150 | * @param IdentityInterface $identity |
| 151 | + * @return void |
|
| 136 | 152 | */ |
| 137 | 153 | public function removeIdentity(IdentityInterface $identity); |
| 138 | 154 | |
@@ -162,6 +178,7 @@ discard block |
||
| 162 | 178 | |
| 163 | 179 | /** |
| 164 | 180 | * @param string|null $type |
| 181 | + * @return void |
|
| 165 | 182 | */ |
| 166 | 183 | public function removeAdjustmentsRecursively($type = null); |
| 167 | 184 | } |