Completed
Push — 1.2-symfony4-packages ( 39ce77...14945a )
by Kamil
18:11
created
src/Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
     /**
241 241
      * @param string $type
242 242
      *
243
-     * @return NodeElement
243
+     * @return string
244 244
      */
245 245
     private function getImageElementByType($type)
246 246
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPage.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -428,6 +428,7 @@  discard block
 block discarded – undo
428 428
 
429 429
     /**
430 430
      * {@inheritdoc}
431
+     * @param string $name
431 432
      */
432 433
     protected function getElement($name, array $parameters = [])
433 434
     {
@@ -507,7 +508,7 @@  discard block
 block discarded – undo
507 508
     /**
508 509
      * @param string $type
509 510
      *
510
-     * @return NodeElement
511
+     * @return string
511 512
      */
512 513
     private function getImageElementByType($type)
513 514
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Page.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     /**
134 134
      * @param string $name
135 135
      *
136
-     * @return NodeElement
136
+     * @return string
137 137
      */
138 138
     protected function getParameter($name)
139 139
     {
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
     }
243 243
 
244 244
     /**
245
-     * @param string|array $selector
245
+     * @param string $selector
246 246
      * @param SelectorsHandler $selectorsHandler
247 247
      *
248 248
      * @return string
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@
 block discarded – undo
299 299
 
300 300
     /**
301 301
      * @param string $attributeName
302
-     * @param string|array $selector
302
+     * @param string $selector
303 303
      *
304 304
      * @return bool
305 305
      *
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/Remover/ReviewerReviewsRemoverSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 use Sylius\Bundle\CoreBundle\Remover\ReviewerReviewsRemoverInterface;
19 19
 use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository;
20 20
 use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface;
21
+use Sylius\Component\Review\Model\ReviewInterface;
21 22
 use Sylius\Component\Review\Model\ReviewableInterface;
22 23
 use Sylius\Component\Review\Model\ReviewerInterface;
23
-use Sylius\Component\Review\Model\ReviewInterface;
24 24
 
25 25
 final class ReviewerReviewsRemoverSpec extends ObjectBehavior
26 26
 {
Please login to merge, or discard this patch.
Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @param ObjectManager $objectManager
146
+     * @param ObjectManager|null $objectManager
147 147
      * @param object $entity
148 148
      * @param string $enabledPropertyPath
149 149
      *
Please login to merge, or discard this patch.
spec/EventListener/SelectProductAttributeChoiceRemoveListenerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Doctrine\ORM\Event\LifecycleEventArgs;
18 18
 use Doctrine\ORM\UnitOfWork;
19 19
 use Mockery;
20
-use Mockery\Mock;
21 20
 use Mockery\MockInterface;
22 21
 use PhpSpec\ObjectBehavior;
23 22
 use Sylius\Component\Attribute\AttributeType\SelectAttributeType;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/Parameters.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
     /**
21 21
      * {@inheritdoc}
22
+     * @param string $path
22 23
      */
23 24
     public function get($path, $default = null)
24 25
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     }
155 155
 
156 156
     /**
157
-     * @param $name
157
+     * @param string $name
158 158
      *
159 159
      * @return string
160 160
      */
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * @param string $name
170 170
      *
171
-     * @return mixed|string|null
171
+     * @return string
172 172
      */
173 173
     public function getRedirectRoute($name)
174 174
     {
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     }
229 229
 
230 230
     /**
231
-     * @param object|null $resource
231
+     * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource
232 232
      *
233 233
      * @return array
234 234
      */
Please login to merge, or discard this patch.