Completed
Push — locale-in-url ( 151bbf...6507a9 )
by Kamil
20:45
created
src/Sylius/Bundle/ResourceBundle/Controller/RedirectHandler.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -82,6 +82,7 @@
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * {@inheritdoc}
85
+     * @param string $url
85 86
      */
86 87
     public function redirect(RequestConfiguration $configuration, $url, $status = 302)
87 88
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,11 +87,11 @@  discard block
 block discarded – undo
87 87
     {
88 88
         if ($configuration->isHeaderRedirection()) {
89 89
             return new Response('', 200, [
90
-                'X-SYLIUS-LOCATION' => $url.$configuration->getRedirectHash(),
90
+                'X-SYLIUS-LOCATION' => $url . $configuration->getRedirectHash(),
91 91
             ]);
92 92
         }
93 93
 
94
-        return new RedirectResponse($url.$configuration->getRedirectHash(), $status);
94
+        return new RedirectResponse($url . $configuration->getRedirectHash(), $status);
95 95
     }
96 96
 
97 97
     /**
@@ -99,6 +99,6 @@  discard block
 block discarded – undo
99 99
      */
100 100
     public function redirectToReferer(RequestConfiguration $configuration)
101 101
     {
102
-        return $this->redirect($configuration, $configuration->getRedirectReferer().$configuration->getRedirectHash());
102
+        return $this->redirect($configuration, $configuration->getRedirectReferer() . $configuration->getRedirectHash());
103 103
     }
104 104
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/MoneyBundle/DependencyInjection/SyliusMoneyExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function load(array $config, ContainerBuilder $container)
29 29
     {
30 30
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
 
33 33
         $container->setParameter('sylius_money.locale', $config['locale']);
34 34
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             return;
45 45
         }
46 46
 
47
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
47
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
48 48
         $loader->load('services/integrations/currency.xml');
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      */
164 164
     public function getRouteName($name)
165 165
     {
166
-        $sectionPrefix = $this->getSection() ? $this->getSection().'_' : '';
166
+        $sectionPrefix = $this->getSection() ? $this->getSection() . '_' : '';
167 167
 
168 168
         return sprintf('%s_%s%s_%s', $this->metadata->getApplicationName(), $sectionPrefix, $this->metadata->getName(), $name);
169 169
     }
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
             return '';
206 206
         }
207 207
 
208
-        return '#'.$redirect['hash'];
208
+        return '#' . $redirect['hash'];
209 209
     }
210 210
 
211 211
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Storage/StorageInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,12 +33,13 @@
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param string $name
36
-     * @param mixed $value
36
+     * @param string $value
37 37
      */
38 38
     public function set($name, $value);
39 39
 
40 40
     /**
41 41
      * @param string $name
42
+     * @return void
42 43
      */
43 44
     public function remove($name);
44 45
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EmailManager/ContactEmailManagerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * @param array $data
21 21
      * @param array $recipients
22
+     * @return void
22 23
      */
23 24
     public function sendContactRequest(array $data, array $recipients);
24 25
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EmailManager/OrderEmailManagerInterface.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 sendConfirmationEmail(OrderInterface $order);
25 26
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EmailManager/ShipmentEmailManagerInterface.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 ShipmentInterface $shipment
23
+     * @return void
23 24
      */
24 25
     public function sendConfirmationEmail(ShipmentInterface $shipment);
25 26
 }
Please login to merge, or discard this patch.
CoreBundle/Validator/Constraints/OrderProductEligibilityValidator.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -23,9 +23,6 @@
 block discarded – undo
23 23
 final class OrderProductEligibilityValidator extends ConstraintValidator
24 24
 {
25 25
     /**
26
-     * @param OrderInterface $value
27
-     *
28
-     * {@inheritdoc}
29 26
      */
30 27
     public function validate($order, Constraint $constraint)
31 28
     {
Please login to merge, or discard this patch.
Validator/Constraints/OrderShippingMethodEligibilityValidator.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -36,9 +36,6 @@
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param OrderInterface $value
40
-     *
41
-     * {@inheritdoc}
42 39
      */
43 40
     public function validate($order, Constraint $constraint)
44 41
     {
Please login to merge, or discard this patch.