@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace luya\web\jsonld; |
4 | 4 | |
5 | 5 | use luya\helpers\ObjectHelper; |
6 | -use yii\base\InvalidConfigException; |
|
7 | 6 | |
8 | 7 | |
9 | 8 | /** |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | */ |
63 | 63 | public function setBestRating(RangeValue $bestRating) |
64 | 64 | { |
65 | - $bestRating->ensureRange(1,5); |
|
65 | + $bestRating->ensureRange(1, 5); |
|
66 | 66 | $this->_bestRating = $bestRating->getValue(); |
67 | 67 | return $this; |
68 | 68 | } |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | */ |
90 | 90 | public function setRatingValue(RangeValue $ratingValue) |
91 | 91 | { |
92 | - $ratingValue->ensureRange(1,5); |
|
92 | + $ratingValue->ensureRange(1, 5); |
|
93 | 93 | $this->_ratingValue = $ratingValue->getValue(); |
94 | 94 | return $this; |
95 | 95 | } |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | */ |
143 | 143 | public function setWorstRating(RangeValue $worstRating) |
144 | 144 | { |
145 | - $worstRating->ensureRange(1,5); |
|
145 | + $worstRating->ensureRange(1, 5); |
|
146 | 146 | $this->_worstRating = $worstRating->getValue(); |
147 | 147 | return $this; |
148 | 148 | } |