Test Setup Failed
Push — master ( d565fb...09b57a )
by Carlos
57s queued 13s
created
src/LaravelShoppingCart/Cart.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@  discard block
 block discarded – undo
57 57
         $this->event = $event;
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $event
62
+     */
60 63
     public function dispatchEvent($event, $payload = [], $halt = false)
61 64
     {
62 65
         if (method_exists($this->event, 'fire')) {
@@ -223,7 +226,7 @@  discard block
 block discarded – undo
223 226
     /**
224 227
      * Alias of destory().
225 228
      *
226
-     * @return bool
229
+     * @return boolean|null
227 230
      */
228 231
     public function clean()
229 232
     {
@@ -481,7 +484,7 @@  discard block
 block discarded – undo
481 484
      * Make a row item.
482 485
      *
483 486
      * @param string $rawId      raw id
484
-     * @param mixed  $id         item id
487
+     * @param string  $id         item id
485 488
      * @param string $name       item name
486 489
      * @param int    $qty        quantity
487 490
      * @param float  $price      price
Please login to merge, or discard this patch.