Completed
Push — master ( bcb54c...8151ca )
by Kamil
05:51 queued 19s
created
src/Sylius/Bundle/InventoryBundle/Twig/InventoryExtension.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
     public function getFunctions(): array
34 34
     {
35 35
         return [
36
-             new TwigFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
37
-             new TwigFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
36
+                new TwigFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
37
+                new TwigFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
38 38
         ];
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/OptionsResolver/LazyOption.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     public static function findOneBy(RepositoryInterface $repository, string $field): \Closure
121 121
     {
122 122
         return
123
-            /** @param mixed $previousValue */
123
+            /** @param string $previousValue */
124 124
             function (Options $options, $previousValue) use ($repository, $field): ?object {
125 125
                 if (null === $previousValue || [] === $previousValue) {
126 126
                     return $previousValue;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
     public static function findBy(RepositoryInterface $repository, string $field): \Closure
101 101
     {
102
-        return function (Options $options, ?array $previousValues) use ($repository, $field): ?iterable {
102
+        return function (Options $options, ?array $previousValues) use ($repository, $field) : ?iterable {
103 103
             if (null === $previousValues || [] === $previousValues) {
104 104
                 return $previousValues;
105 105
             }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/CompletePageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
     public function getTaxTotal(): string;
92 92
 
93
-    public function getShippingTotal(): string ;
93
+    public function getShippingTotal(): string;
94 94
 
95 95
     public function hasShippingTotal(): bool;
96 96
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Order.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Sylius\Component\Core\OrderPaymentStates;
21 21
 use Sylius\Component\Core\OrderShippingStates;
22 22
 use Sylius\Component\Customer\Model\CustomerInterface as BaseCustomerInterface;
23
-use Sylius\Component\Order\Model\AdjustmentInterface as BaseAdjustmentInterface;
24 23
 use Sylius\Component\Order\Model\Order as BaseOrder;
25 24
 use Sylius\Component\Payment\Model\PaymentInterface as BasePaymentInterface;
26 25
 use Sylius\Component\Promotion\Model\PromotionCouponInterface as BaseCouponInterface;
Please login to merge, or discard this patch.