@@ -57,6 +57,9 @@ discard block |
||
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 |
||
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 |
||
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 |