@@ -44,11 +44,13 @@ |
||
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 | } |
@@ -34,7 +34,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -70,7 +70,7 @@ |
||
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} |