Completed
Push — 1.1 ( fe6872...48c5a7 )
by Kamil
25:45
created
src/Sylius/Bundle/CoreBundle/Command/SetupCommand.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
 use Symfony\Component\Console\Output\OutputInterface;
20 20
 use Symfony\Component\Console\Question\Question;
21 21
 use Symfony\Component\Console\Style\SymfonyStyle;
22
+use Symfony\Component\Validator\ConstraintViolationListInterface;
22 23
 use Symfony\Component\Validator\Constraints\Email;
23 24
 use Symfony\Component\Validator\Constraints\NotBlank;
24
-use Symfony\Component\Validator\ConstraintViolationListInterface;
25 25
 use Webmozart\Assert\Assert;
26 26
 
27 27
 final class SetupCommand extends AbstractInstallCommand
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
      * @param InputInterface $input
192 192
      * @param OutputInterface $output
193 193
      *
194
-     * @return mixed
194
+     * @return string
195 195
      */
196 196
     private function getAdministratorPassword(InputInterface $input, OutputInterface $output): string
197 197
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/Updater/AverageRatingUpdater.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,9 @@
 block discarded – undo
14 14
 namespace Sylius\Bundle\ReviewBundle\Updater;
15 15
 
16 16
 use Doctrine\Common\Persistence\ObjectManager;
17
-use Doctrine\ORM\EntityManager;
18 17
 use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface;
19
-use Sylius\Component\Review\Model\ReviewableInterface;
20 18
 use Sylius\Component\Review\Model\ReviewInterface;
19
+use Sylius\Component\Review\Model\ReviewableInterface;
21 20
 
22 21
 class AverageRatingUpdater implements ReviewableRatingUpdaterInterface
23 22
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Tests/Functional/AssetTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         return $webDirectory;
105 105
     }
106 106
 
107
+    /**
108
+     * @param string $webDirectory
109
+     */
107 110
     private function assertFileContent($lines, $webDirectory): void
108 111
     {
109 112
         foreach ($lines as $line) {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/ProvinceInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param string|null $name
28
+     * @return void
28 29
      */
29 30
     public function setName(?string $name): void;
30 31
 
@@ -35,6 +36,7 @@  discard block
 block discarded – undo
35 36
 
36 37
     /**
37 38
      * @param string|null $abbreviation
39
+     * @return void
38 40
      */
39 41
     public function setAbbreviation(?string $abbreviation): void;
40 42
 
@@ -45,6 +47,7 @@  discard block
 block discarded – undo
45 47
 
46 48
     /**
47 49
      * @param CountryInterface|null $country
50
+     * @return void
48 51
      */
49 52
     public function setCountry(?CountryInterface $country): void;
50 53
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionValueInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param ProductOptionInterface|null $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(?ProductOptionInterface $option): void;
32 33
 
@@ -37,6 +38,7 @@  discard block
 block discarded – undo
37 38
 
38 39
     /**
39 40
      * @param string|null $value
41
+     * @return void
40 42
      */
41 43
     public function setValue(?string $value): void;
42 44
 
Please login to merge, or discard this patch.