Completed
Push — master ( 2fb104...0c9ed9 )
by Basil
03:25
created
core/web/jsonld/Rating.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.