@@ -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 |
@@ -33,6 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param AttributeSubjectInterface|null $subject |
36 | + * @return void |
|
36 | 37 | */ |
37 | 38 | public function setSubject(AttributeSubjectInterface $subject = null); |
38 | 39 | |
@@ -43,6 +44,7 @@ discard block |
||
43 | 44 | |
44 | 45 | /** |
45 | 46 | * @param AttributeInterface $attribute |
47 | + * @return void |
|
46 | 48 | */ |
47 | 49 | public function setAttribute(AttributeInterface $attribute); |
48 | 50 | |
@@ -53,6 +55,7 @@ discard block |
||
53 | 55 | |
54 | 56 | /** |
55 | 57 | * @param mixed $value |
58 | + * @return void |
|
56 | 59 | */ |
57 | 60 | public function setValue($value); |
58 | 61 | |
@@ -80,6 +83,7 @@ discard block |
||
80 | 83 | |
81 | 84 | /** |
82 | 85 | * @param string |
86 | + * @return void |
|
83 | 87 | */ |
84 | 88 | public function setLocaleCode($localeCode); |
85 | 89 | } |
@@ -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 |
@@ -32,11 +32,13 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param ChannelInterface $channel |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function addChannel(ChannelInterface $channel); |
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param ChannelInterface $channel |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function removeChannel(ChannelInterface $channel); |
42 | 44 | } |
@@ -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\Channel\Model; |
15 | 15 |