Completed
Push — locale-in-url ( 6d9eda )
by Kamil
23:08
created
src/Sylius/Bundle/OrderBundle/DependencyInjection/SyliusOrderExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
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]>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function load(array $config, ContainerBuilder $container)
28 28
     {
29 29
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
30
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
30
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
31 31
 
32 32
         $this->registerResources('sylius', $config['driver'], $config['resources'], $container);
33 33
 
Please login to merge, or discard this patch.
Sylius/Bundle/OrderBundle/NumberAssigner/OrderNumberAssignerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param OrderInterface $order
23
+     * @return void
23 24
      */
24 25
     public function assignNumber(OrderInterface $order);
25 26
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Controller/ProductAttributeController.php 1 patch
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.
src/Sylius/Bundle/ResourceBundle/Validator/EnabledValidator.php 1 patch
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.
src/Sylius/Bundle/ReviewBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
17 17
 use Sylius\Bundle\ReviewBundle\Form\Type\ReviewType;
18 18
 use Sylius\Component\Resource\Factory\Factory;
19
-use Sylius\Component\Review\Model\ReviewerInterface;
20 19
 use Sylius\Component\Review\Model\ReviewInterface;
20
+use Sylius\Component\Review\Model\ReviewerInterface;
21 21
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
22 22
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
23 23
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
Bundle/ThemeBundle/Configuration/ConfigurationSourceFactoryInterface.php 1 patch
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.
src/Sylius/Bundle/UserBundle/Security/UserLoginInterface.php 1 patch
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.
src/Sylius/Component/Addressing/Model/AddressInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param string $firstName
29
+     * @return void
29 30
      */
30 31
     public function setFirstName($firstName);
31 32
 
@@ -36,6 +37,7 @@  discard block
 block discarded – undo
36 37
 
37 38
     /**
38 39
      * @param string $lastName
40
+     * @return void
39 41
      */
40 42
     public function setLastName($lastName);
41 43
 
@@ -51,6 +53,7 @@  discard block
 block discarded – undo
51 53
 
52 54
     /**
53 55
      * @param string $phoneNumber
56
+     * @return void
54 57
      */
55 58
     public function setPhoneNumber($phoneNumber);
56 59
 
@@ -61,6 +64,7 @@  discard block
 block discarded – undo
61 64
 
62 65
     /**
63 66
      * @param string $company
67
+     * @return void
64 68
      */
65 69
     public function setCompany($company);
66 70
 
@@ -71,6 +75,7 @@  discard block
 block discarded – undo
71 75
 
72 76
     /**
73 77
      * @param string $countryCode
78
+     * @return void
74 79
      */
75 80
     public function setCountryCode($countryCode = null);
76 81
 
@@ -81,6 +86,7 @@  discard block
 block discarded – undo
81 86
 
82 87
     /**
83 88
      * @param string $provinceCode
89
+     * @return void
84 90
      */
85 91
     public function setProvinceCode($provinceCode = null);
86 92
 
@@ -91,6 +97,7 @@  discard block
 block discarded – undo
91 97
 
92 98
     /**
93 99
      * @param string $provinceName
100
+     * @return void
94 101
      */
95 102
     public function setProvinceName($provinceName = null);
96 103
 
@@ -101,6 +108,7 @@  discard block
 block discarded – undo
101 108
 
102 109
     /**
103 110
      * @param string $street
111
+     * @return void
104 112
      */
105 113
     public function setStreet($street);
106 114
 
@@ -111,6 +119,7 @@  discard block
 block discarded – undo
111 119
 
112 120
     /**
113 121
      * @param string $city
122
+     * @return void
114 123
      */
115 124
     public function setCity($city);
116 125
 
@@ -121,6 +130,7 @@  discard block
 block discarded – undo
121 130
 
122 131
     /**
123 132
      * @param string $postcode
133
+     * @return void
124 134
      */
125 135
     public function setPostcode($postcode);
126 136
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/CountryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -42,11 +42,13 @@
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param ProvinceInterface $province
45
+     * @return void
45 46
      */
46 47
     public function addProvince(ProvinceInterface $province);
47 48
 
48 49
     /**
49 50
      * @param ProvinceInterface $province
51
+     * @return void
50 52
      */
51 53
     public function removeProvince(ProvinceInterface $province);
52 54
 
Please login to merge, or discard this patch.