@@ -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 |
@@ -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 | } |
@@ -17,7 +17,6 @@ |
||
17 | 17 | use Sylius\Component\Resource\Metadata\MetadataInterface; |
18 | 18 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
19 | 19 | use Symfony\Component\DependencyInjection\Definition; |
20 | -use Symfony\Component\DependencyInjection\Parameter; |
|
21 | 20 | use Symfony\Component\DependencyInjection\Reference; |
22 | 21 | |
23 | 22 | /** |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function load(array $config, ContainerBuilder $container) |
30 | 30 | { |
31 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
31 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
32 | 32 | $loader->load('services.xml'); |
33 | 33 | $loader->load('twig.xml'); |
34 | 34 | } |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | { |
167 | 167 | $this->questionHelper = $this->command->getHelper('question'); |
168 | 168 | $inputString = implode(PHP_EOL, $this->inputChoices); |
169 | - $this->questionHelper->setInputStream($this->getInputStream($inputString.PHP_EOL)); |
|
169 | + $this->questionHelper->setInputStream($this->getInputStream($inputString . PHP_EOL)); |
|
170 | 170 | |
171 | 171 | $this->tester->execute(['command' => $name]); |
172 | 172 | } |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | private function iExecuteCommandAndConfirm($name) |
178 | 178 | { |
179 | 179 | $this->questionHelper = $this->command->getHelper('question'); |
180 | - $inputString = 'y'.PHP_EOL; |
|
180 | + $inputString = 'y' . PHP_EOL; |
|
181 | 181 | $this->questionHelper->setInputStream($this->getInputStream($inputString)); |
182 | 182 | |
183 | 183 | $this->tester->execute(['command' => $name]); |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param OptionInterface $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(OptionInterface $option = null); |
32 | 33 | |
@@ -41,6 +42,7 @@ discard block |
||
41 | 42 | * Set internal value. |
42 | 43 | * |
43 | 44 | * @param string $value |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setValue($value); |
46 | 48 |
@@ -25,15 +25,20 @@ |
||
25 | 25 | */ |
26 | 26 | public function hasValidationErrorWith($message); |
27 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
28 | 31 | public function logIn(); |
29 | 32 | |
30 | 33 | /** |
31 | 34 | * @param string $password |
35 | + * @return void |
|
32 | 36 | */ |
33 | 37 | public function specifyPassword($password); |
34 | 38 | |
35 | 39 | /** |
36 | 40 | * @param string $userName |
41 | + * @return void |
|
37 | 42 | */ |
38 | 43 | public function specifyUserName($userName); |
39 | 44 | } |
@@ -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 | } |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | $itemsCount = $this->showPage->countItems(); |
243 | 243 | |
244 | 244 | Assert::same( |
245 | - (int)$amount, |
|
245 | + (int) $amount, |
|
246 | 246 | $itemsCount, |
247 | 247 | sprintf('There should be %d items, but get %d.', $amount, $itemsCount) |
248 | 248 | ); |
@@ -721,7 +721,7 @@ discard block |
||
721 | 721 | { |
722 | 722 | $actualNumberOfPayments = $this->showPage->getPaymentsCount(); |
723 | 723 | |
724 | - Assert::same((int)$number, $actualNumberOfPayments); |
|
724 | + Assert::same((int) $number, $actualNumberOfPayments); |
|
725 | 725 | } |
726 | 726 | |
727 | 727 | /** |