@@ -15,7 +15,6 @@ |
||
15 | 15 | use Symfony\Component\Config\FileLocator; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | -use Symfony\Component\DependencyInjection\Reference; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\OrderBundle\DependencyInjection; |
15 | 15 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | public function load(array $config, ContainerBuilder $container) |
31 | 31 | { |
32 | 32 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
33 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
33 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
34 | 34 | |
35 | 35 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
36 | 36 |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param OrderInterface $order |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function assignNumber(OrderInterface $order); |
25 | 26 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\OrderBundle\NumberAssigner; |
15 | 15 |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
17 | 17 | use Sylius\Component\Attribute\Model\AttributeInterface; |
18 | 18 | use Symfony\Component\Form\FormView; |
19 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
20 | 19 | use Symfony\Component\HttpFoundation\Request; |
21 | 20 | use Symfony\Component\HttpFoundation\Response; |
22 | 21 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ProductBundle\Controller; |
15 | 15 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @param mixed $value |
|
43 | + * @param ToggleableInterface $value |
|
44 | 44 | */ |
45 | 45 | private function ensureValueImplementsToggleableInterface($value) |
46 | 46 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ResourceBundle\Validator; |
15 | 15 |
@@ -23,6 +23,7 @@ |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @param ArrayNodeDefinition $node |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function buildConfiguration(ArrayNodeDefinition $node); |
28 | 29 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ThemeBundle\Configuration; |
15 | 15 |
@@ -21,6 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * @param UserInterface $user |
23 | 23 | * @param string $firewallName |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function login(UserInterface $user, $firewallName = 'main'); |
26 | 27 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\UserBundle\Security; |
15 | 15 |
@@ -33,6 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param string $type |
36 | + * @return void |
|
36 | 37 | */ |
37 | 38 | public function setType($type); |
38 | 39 | |
@@ -43,6 +44,7 @@ discard block |
||
43 | 44 | |
44 | 45 | /** |
45 | 46 | * @param array $configuration |
47 | + * @return void |
|
46 | 48 | */ |
47 | 49 | public function setConfiguration(array $configuration); |
48 | 50 | |
@@ -58,6 +60,7 @@ discard block |
||
58 | 60 | |
59 | 61 | /** |
60 | 62 | * @param string $storageType |
63 | + * @return void |
|
61 | 64 | */ |
62 | 65 | public function setStorageType($storageType); |
63 | 66 | |
@@ -68,6 +71,7 @@ discard block |
||
68 | 71 | |
69 | 72 | /** |
70 | 73 | * @param int $position |
74 | + * @return void |
|
71 | 75 | */ |
72 | 76 | public function setPosition($position); |
73 | 77 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Attribute\Model; |
15 | 15 |
@@ -33,11 +33,13 @@ |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param AttributeValueInterface $attribute |
36 | + * @return void |
|
36 | 37 | */ |
37 | 38 | public function addAttribute(AttributeValueInterface $attribute); |
38 | 39 | |
39 | 40 | /** |
40 | 41 | * @param AttributeValueInterface $attribute |
42 | + * @return void |
|
41 | 43 | */ |
42 | 44 | public function removeAttribute(AttributeValueInterface $attribute); |
43 | 45 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Attribute\Model; |
15 | 15 |
@@ -28,6 +28,7 @@ |
||
28 | 28 | |
29 | 29 | /** |
30 | 30 | * @param string $name |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function setName($name); |
33 | 34 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Attribute\Model; |
15 | 15 |