Completed
Push — revert-symfony-336 ( 87e565 )
by Kamil
36:02
created
src/Sylius/Bundle/ProductBundle/Controller/ProductAttributeController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Validator/EnabledValidator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @param mixed $value
43
+     * @param ToggleableInterface $value
44 44
      */
45 45
     private function ensureValueImplementsToggleableInterface($value)
46 46
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Bundle/ThemeBundle/Configuration/ConfigurationSourceFactoryInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @param ArrayNodeDefinition $node
26
+     * @return void
26 27
      */
27 28
     public function buildConfiguration(ArrayNodeDefinition $node);
28 29
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Security/UserLoginInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
68 71
 
69 72
     /**
70 73
      * @param int $position
74
+     * @return void
71 75
      */
72 76
     public function setPosition($position);
73 77
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeSubjectInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -33,11 +33,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeTranslationInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param string $name
31
+     * @return void
31 32
      */
32 33
     public function setName($name);
33 34
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeValueInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
80 83
 
81 84
     /**
82 85
      * @param string
86
+     * @return void
83 87
      */
84 88
     public function setLocaleCode($localeCode);
85 89
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Component/Channel/Model/ChannelsAwareInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -32,11 +32,13 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.