Completed
Push — locale-in-url ( 6d9eda )
by Kamil
23:08
created
src/Sylius/Bundle/FixturesBundle/Loader/FixtureLoaderInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
      * @param SuiteInterface $suite
24 24
      * @param FixtureInterface $fixture
25 25
      * @param array $options
26
+     * @return void
26 27
      */
27 28
     public function load(SuiteInterface $suite, FixtureInterface $fixture, array $options);
28 29
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/Loader/SuiteLoaderInterface.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 SuiteInterface $suite
23
+     * @return void
23 24
      */
24 25
     public function load(SuiteInterface $suite);
25 26
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableFixtureLoaderSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
17 16
 use Sylius\Bundle\FixturesBundle\Listener\AfterFixtureListenerInterface;
18 17
 use Sylius\Bundle\FixturesBundle\Listener\BeforeFixtureListenerInterface;
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableSuiteLoaderSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Bundle\FixturesBundle\Listener\AfterSuiteListenerInterface;
17 16
 use Sylius\Bundle\FixturesBundle\Listener\BeforeSuiteListenerInterface;
18 17
 use Sylius\Bundle\FixturesBundle\Listener\SuiteEvent;
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/SuiteLoaderSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
17 16
 use Sylius\Bundle\FixturesBundle\Loader\FixtureLoaderInterface;
18 17
 use Sylius\Bundle\FixturesBundle\Loader\SuiteLoader;
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Doctrine/ORM/ExpressionBuilder.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -187,6 +187,7 @@
 block discarded – undo
187 187
 
188 188
     /**
189 189
      * {@inheritdoc}
190
+     * @param string $field
190 191
      */
191 192
     private function getFieldName($field)
192 193
     {
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         $parameterName = $this->getParameterName($field);
66 66
         $this->queryBuilder->setParameter($parameterName, $value);
67 67
 
68
-        return $this->queryBuilder->expr()->eq($this->getFieldName($field), ':'.$parameterName);
68
+        return $this->queryBuilder->expr()->eq($this->getFieldName($field), ':' . $parameterName);
69 69
     }
70 70
 
71 71
     /**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         $parameterName = $this->getParameterName($field);
77 77
         $this->queryBuilder->setParameter($parameterName, $value);
78 78
 
79
-        return $this->queryBuilder->expr()->neq($this->getFieldName($field), ':'.$parameterName);
79
+        return $this->queryBuilder->expr()->neq($this->getFieldName($field), ':' . $parameterName);
80 80
     }
81 81
 
82 82
     /**
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $parameterName = $this->getParameterName($field);
88 88
         $this->queryBuilder->setParameter($parameterName, $value);
89 89
 
90
-        $this->queryBuilder->andWhere($this->getFieldName($field).' < :'.$parameterName);
90
+        $this->queryBuilder->andWhere($this->getFieldName($field) . ' < :' . $parameterName);
91 91
     }
92 92
 
93 93
     /**
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $parameterName = $this->getParameterName($field);
99 99
         $this->queryBuilder->setParameter($parameterName, $value);
100 100
 
101
-        $this->queryBuilder->andWhere($this->getFieldName($field).' <= :'.$parameterName);
101
+        $this->queryBuilder->andWhere($this->getFieldName($field) . ' <= :' . $parameterName);
102 102
     }
103 103
 
104 104
     /**
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
         $parameterName = $this->getParameterName($field);
110 110
         $this->queryBuilder->setParameter($parameterName, $value);
111 111
 
112
-        $this->queryBuilder->andWhere($this->getFieldName($field).' > :'.$parameterName);
112
+        $this->queryBuilder->andWhere($this->getFieldName($field) . ' > :' . $parameterName);
113 113
     }
114 114
 
115 115
     /**
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         $parameterName = $this->getParameterName($field);
121 121
         $this->queryBuilder->setParameter($parameterName, $value);
122 122
 
123
-        $this->queryBuilder->andWhere($this->getFieldName($field).' >= :'.$parameterName);
123
+        $this->queryBuilder->andWhere($this->getFieldName($field) . ' >= :' . $parameterName);
124 124
     }
125 125
 
126 126
     /**
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     private function getFieldName($field)
194 194
     {
195 195
         if (false === strpos($field, '.')) {
196
-            return $this->queryBuilder->getRootAlias().'.'.$field;
196
+            return $this->queryBuilder->getRootAlias() . '.' . $field;
197 197
         }
198 198
 
199 199
         return $field;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/FlashHelperInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -23,12 +23,14 @@
 block discarded – undo
23 23
      * @param RequestConfiguration $requestConfiguration
24 24
      * @param string $actionName
25 25
      * @param ResourceInterface|null $resource
26
+     * @return void
26 27
      */
27 28
     public function addSuccessFlash(RequestConfiguration $requestConfiguration, $actionName, ResourceInterface $resource = null);
28 29
 
29 30
     /**
30 31
      * @param RequestConfiguration $requestConfiguration
31 32
      * @param ResourceControllerEvent $event
33
+     * @return void
32 34
      */
33 35
     public function addFlashFromEvent(RequestConfiguration $requestConfiguration, ResourceControllerEvent $event);
34 36
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RedirectHandler.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -80,6 +80,7 @@
 block discarded – undo
80 80
 
81 81
     /**
82 82
      * {@inheritdoc}
83
+     * @param string|null $url
83 84
      */
84 85
     public function redirect(RequestConfiguration $configuration, $url, $status = 302)
85 86
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,11 +85,11 @@
 block discarded – undo
85 85
     {
86 86
         if ($configuration->isHeaderRedirection()) {
87 87
             return new Response('', 200, [
88
-                'X-SYLIUS-LOCATION' => $url.$configuration->getRedirectHash(),
88
+                'X-SYLIUS-LOCATION' => $url . $configuration->getRedirectHash(),
89 89
             ]);
90 90
         }
91 91
 
92
-        return new RedirectResponse($url.$configuration->getRedirectHash(), $status);
92
+        return new RedirectResponse($url . $configuration->getRedirectHash(), $status);
93 93
     }
94 94
 
95 95
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/StateMachineInterface.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 RequestConfiguration $configuration
23 23
      * @param ResourceInterface $resource
24
+     * @return void
24 25
      */
25 26
     public function apply(RequestConfiguration $configuration, ResourceInterface $resource);
26 27
 }
Please login to merge, or discard this patch.