Completed
Push — symfony3 ( 06e2ee...17e915 )
by Kamil
46:11 queued 26:57
created
src/Sylius/Behat/Page/Admin/ProductVariant/GeneratePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,22 +18,28 @@
 block discarded – undo
18 18
  */
19 19
 interface GeneratePageInterface extends SymfonyPageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function generate();
22 25
 
23 26
     /**
24 27
      * @param int $nth
25 28
      * @param int $price
29
+     * @return void
26 30
      */
27 31
     public function specifyPrice($nth, $price);
28 32
 
29 33
     /**
30 34
      * @param int $nth
31 35
      * @param string $code
36
+     * @return void
32 37
      */
33 38
     public function nameCode($nth, $code);
34 39
 
35 40
     /**
36 41
      * @param int $nth
42
+     * @return void
37 43
      */
38 44
     public function removeVariant($nth);
39 45
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Bundle\ProductBundle\Form\Type\ProductAssociationType;
15 15
 use Sylius\Bundle\ProductBundle\Form\Type\ProductAssociationTypeType;
16
+use Sylius\Bundle\ProductBundle\Form\Type\ProductGenerateVariantsType;
16 17
 use Sylius\Bundle\ProductBundle\Form\Type\ProductOptionTranslationType;
17 18
 use Sylius\Bundle\ProductBundle\Form\Type\ProductOptionType;
18 19
 use Sylius\Bundle\ProductBundle\Form\Type\ProductOptionValueTranslationType;
19 20
 use Sylius\Bundle\ProductBundle\Form\Type\ProductOptionValueType;
20 21
 use Sylius\Bundle\ProductBundle\Form\Type\ProductTranslationType;
21 22
 use Sylius\Bundle\ProductBundle\Form\Type\ProductType;
22
-use Sylius\Bundle\ProductBundle\Form\Type\ProductGenerateVariantsType;
23 23
 use Sylius\Bundle\ProductBundle\Form\Type\ProductVariantGenerationType;
24 24
 use Sylius\Bundle\ProductBundle\Form\Type\ProductVariantType;
25 25
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Checker/ProductVariantsParityChecker.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Behat\Page\Admin\Customer;
13 13
 
14 14
 use Sylius\Behat\Page\SymfonyPage;
15
-use Webmozart\Assert\Assert;
16 15
 
17 16
 /**
18 17
  * @author Magdalena Banasiak <[email protected]>
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     {
50 50
         foreach ($variant->getOptionValues() as $option) {
51 51
             if (!$existingVariant->hasOptionValue($option)) {
52
-               return false;
52
+                return false;
53 53
             }
54 54
         }
55 55
 
Please login to merge, or discard this patch.