@@ -39,6 +39,7 @@ discard block |
||
| 39 | 39 | * Sets all option values. |
| 40 | 40 | * |
| 41 | 41 | * @param Collection $optionValues |
| 42 | + * @return void |
|
| 42 | 43 | */ |
| 43 | 44 | public function setValues(Collection $optionValues); |
| 44 | 45 | |
@@ -46,6 +47,7 @@ discard block |
||
| 46 | 47 | * Adds option value. |
| 47 | 48 | * |
| 48 | 49 | * @param OptionValueInterface $optionValue |
| 50 | + * @return void |
|
| 49 | 51 | */ |
| 50 | 52 | public function addValue(OptionValueInterface $optionValue); |
| 51 | 53 | |
@@ -53,6 +55,7 @@ discard block |
||
| 53 | 55 | * Removes option value. |
| 54 | 56 | * |
| 55 | 57 | * @param OptionValueInterface $optionValue |
| 58 | + * @return void |
|
| 56 | 59 | */ |
| 57 | 60 | public function removeValue(OptionValueInterface $optionValue); |
| 58 | 61 | |
@@ -172,7 +172,7 @@ |
||
| 172 | 172 | ->getText() |
| 173 | 173 | ; |
| 174 | 174 | |
| 175 | - return (int) preg_replace('/[^0-9]/', '',$overallOrders); |
|
| 175 | + return (int) preg_replace('/[^0-9]/', '', $overallOrders); |
|
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | /** |
@@ -46,7 +46,8 @@ discard block |
||
| 46 | 46 | $this->getAllOrdersCount()->shouldReturn(0); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - function it_has_number_of_all_orders(ChannelInterface $channel) { |
|
| 49 | + function it_has_number_of_all_orders(ChannelInterface $channel) |
|
| 50 | + { |
|
| 50 | 51 | $firstStatistics = new PerChannelCustomerStatistics(110, 120, $channel->getWrappedObject()); |
| 51 | 52 | $secondStatistics = new PerChannelCustomerStatistics(13, 120, $channel->getWrappedObject()); |
| 52 | 53 | |
@@ -55,7 +56,8 @@ discard block |
||
| 55 | 56 | $this->getAllOrdersCount()->shouldReturn(123); |
| 56 | 57 | } |
| 57 | 58 | |
| 58 | - function it_has_an_array_of_statistics_per_channel(ChannelInterface $channel) { |
|
| 59 | + function it_has_an_array_of_statistics_per_channel(ChannelInterface $channel) |
|
| 60 | + { |
|
| 59 | 61 | $firstStatistics = new PerChannelCustomerStatistics(110, 120, $channel->getWrappedObject()); |
| 60 | 62 | $secondStatistics = new PerChannelCustomerStatistics(13, 120, $channel->getWrappedObject()); |
| 61 | 63 | |