Completed
Push — symfony-3.3 ( 2453fc...dce4db )
by Kamil
21:24
created
src/Sylius/Component/Core/Model/ProductImagesAwareInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -44,11 +44,13 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param ImageInterface $image
47
+     * @return void
47 48
      */
48 49
     public function addImage(ProductImageInterface $image);
49 50
 
50 51
     /**
51 52
      * @param ImageInterface $image
53
+     * @return void
52 54
      */
53 55
     public function removeImage(ProductImageInterface $image);
54 56
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Filter/DateFilter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
         $from = isset($data['from']) ? $this->getDateTime($data['from']) : null;
36 36
         if (null !== $from) {
37
-            $inclusive = (bool)$this->getOption($options, 'inclusive_from', self::DEFAULT_INCLUSIVE_FROM);
37
+            $inclusive = (bool) $this->getOption($options, 'inclusive_from', self::DEFAULT_INCLUSIVE_FROM);
38 38
             if (true === $inclusive) {
39 39
                 $expressionBuilder->greaterThanOrEqual($field, $from);
40 40
             } else {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
         $to = isset($data['to']) ? $this->getDateTime($data['to']) : null;
46 46
         if (null !== $to) {
47
-            $inclusive = (bool)$this->getOption($options, 'inclusive_to', self::DEFAULT_INCLUSIVE_TO);
47
+            $inclusive = (bool) $this->getOption($options, 'inclusive_to', self::DEFAULT_INCLUSIVE_TO);
48 48
             if (true === $inclusive) {
49 49
                 $expressionBuilder->lessThanOrEqual($field, $to);
50 50
             } else {
@@ -81,6 +81,6 @@  discard block
 block discarded – undo
81 81
             return $data['date'];
82 82
         }
83 83
 
84
-        return $data['date'].' '.$data['time'];
84
+        return $data['date'] . ' ' . $data['time'];
85 85
     }
86 86
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Checkout/CheckoutStateUrlGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
             throw new RouteNotFoundException();
71 71
         }
72 72
 
73
-        return $this->router->generate($this->routeCollection['empty_order']['route'], $parameters, $referenceType);    }
73
+        return $this->router->generate($this->routeCollection['empty_order']['route'], $parameters, $referenceType); }
74 74
 
75 75
     /**
76 76
      * {@inheritdoc}
Please login to merge, or discard this patch.