Completed
Push — master ( 2fb104...0c9ed9 )
by Basil
03:25
created
core/web/jsonld/PersonTrait.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Physical address of the item.
51 51
      *
52
-     * @param PostalAddress|string $address
52
+     * @param PostalAddress $address
53 53
      * @return static
54 54
      */
55 55
     public function setAddress(PostalAddress $address)
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     /**
297 297
      * The Dun & Bradstreet DUNS number for identifying an organization or business person.
298 298
      *
299
-     * @param string $duns
299
+     * @param Person $duns
300 300
      * @return static
301 301
      */
302 302
     public function setDuns(Person $duns)
Please login to merge, or discard this patch.
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.