Completed
Push — master ( 0f74a6...eca3e7 )
by Kamil
20:39
created
src/Sylius/Component/Core/Model/Order.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
      */
237 237
     public function getItemUnitsByVariant(ProductVariantInterface $variant)
238 238
     {
239
-        return $this->getItemUnits()->filter(function (OrderItemUnitInterface $itemUnit) use ($variant) {
239
+        return $this->getItemUnits()->filter(function(OrderItemUnitInterface $itemUnit) use ($variant) {
240 240
             return $variant === $itemUnit->getStockable();
241 241
         });
242 242
     }
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
             return null;
301 301
         }
302 302
 
303
-        $payment = $this->payments->filter(function (BasePaymentInterface $payment) use ($state) {
303
+        $payment = $this->payments->filter(function(BasePaymentInterface $payment) use ($state) {
304 304
             return $payment->getState() === $state;
305 305
         })->last();
306 306
 
Please login to merge, or discard this patch.