Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
src/Sylius/Behat/Context/Ui/CheckoutContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
      */
780 780
     public function iShouldSeeThisShippingAddressAsShippingAddress($fullName)
781 781
     {
782
-        $address = $this->sharedStorage->get('shipping_address_'.StringInflector::nameToLowercaseCode($fullName));
782
+        $address = $this->sharedStorage->get('shipping_address_' . StringInflector::nameToLowercaseCode($fullName));
783 783
         Assert::true(
784 784
             $this->completePage->hasShippingAddress($address),
785 785
             'Shipping address is improper.'
@@ -791,7 +791,7 @@  discard block
 block discarded – undo
791 791
      */
792 792
     public function iShouldSeeThisBillingAddressAsBillingAddress($fullName)
793 793
     {
794
-        $address = $this->sharedStorage->get('billing_address_'.StringInflector::nameToLowercaseCode($fullName));
794
+        $address = $this->sharedStorage->get('billing_address_' . StringInflector::nameToLowercaseCode($fullName));
795 795
         Assert::true(
796 796
             $this->completePage->hasBillingAddress($address),
797 797
             'Billing address is improper.'
@@ -1403,7 +1403,7 @@  discard block
 block discarded – undo
1403 1403
     public function iShouldBeCheckingOutAs($email)
1404 1404
     {
1405 1405
         Assert::same(
1406
-            'Checking out as '.$email.'.',
1406
+            'Checking out as ' . $email . '.',
1407 1407
             $this->selectShippingPage->getPurchaserEmail()
1408 1408
         );
1409 1409
     }
Please login to merge, or discard this patch.
PromotionBundle/Form/EventListener/AbstractConfigurationSubscriber.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,6 @@
 block discarded – undo
129 129
     }
130 130
 
131 131
     /**
132
-     * @param PromotionDynamicTypeInterface|null $type
133 132
      * @param FormInterface $form
134 133
      *
135 134
      * @return null|string
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Payment/Provider/OrderPaymentProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      * @param PaymentInterface $payment
107 107
      * @param OrderInterface $order
108 108
      *
109
-     * @return PaymentMethodInterface|null
109
+     * @return \Sylius\Component\Payment\Model\PaymentMethodInterface|null
110 110
      */
111 111
     private function getDefaultPaymentMethod(PaymentInterface $payment, OrderInterface $order)
112 112
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Inventory/IndexPageInterface.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 OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/IndexPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -32,16 +32,19 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param Collection $variants
35
+     * @return void
35 36
      */
36 37
     public function setVariants(Collection $variants);
37 38
 
38 39
     /**
39 40
      * @param VariantInterface $variant
41
+     * @return void
40 42
      */
41 43
     public function addVariant(VariantInterface $variant);
42 44
 
43 45
     /**
44 46
      * @param VariantInterface $variant
47
+     * @return void
45 48
      */
46 49
     public function removeVariant(VariantInterface $variant);
47 50
 
@@ -64,16 +67,19 @@  discard block
 block discarded – undo
64 67
 
65 68
     /**
66 69
      * @param Collection $options
70
+     * @return void
67 71
      */
68 72
     public function setOptions(Collection $options);
69 73
 
70 74
     /**
71 75
      * @param OptionInterface $option
76
+     * @return void
72 77
      */
73 78
     public function addOption(OptionInterface $option);
74 79
 
75 80
     /**
76 81
      * @param OptionInterface $option
82
+     * @return void
77 83
      */
78 84
     public function removeOption(OptionInterface $option);
79 85
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/IndexPageInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -63,12 +63,14 @@  discard block
 block discarded – undo
63 63
 
64 64
     /**
65 65
      * @param string $productName
66
+     * @return void
66 67
      */
67 68
     public function removeProduct($productName);
68 69
 
69 70
     /**
70 71
      * @param string $productName
71 72
      * @param int $quantity
73
+     * @return void
72 74
      */
73 75
     public function changeQuantity($productName, $quantity);
74 76
 
@@ -112,5 +114,8 @@  discard block
 block discarded – undo
112 114
      */
113 115
     public function getQuantity($productName);
114 116
 
117
+    /**
118
+     * @return void
119
+     */
115 120
     public function clearCart();
116 121
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Data/ExpressionBuilderInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
     /**
83 83
      * @param string $field
84
-     * @param mixed $value
84
+     * @param string $value
85 85
      *
86 86
      * @return self
87 87
      */
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductVariant.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Doctrine\Common\Collections\ArrayCollection;
15 15
 use Doctrine\Common\Collections\Collection;
16 16
 use Sylius\Component\Resource\Model\TranslatableTrait;
17
-use Sylius\Component\Resource\Model\TranslationInterface;
18 17
 
19 18
 /**
20 19
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductVariantTranslationInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.