Skip to content

Commit

Permalink
docs(Event): $args 参数允许任意值
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Apr 15, 2023
1 parent 74eaade commit 482891c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Event extends Base
* Trigger an event
*
* @param string $name The name of event
* @param array $args The arguments pass to the handle
* @param mixed $args The arguments pass to the handle
* @param bool $halt
* @return array|mixed
* @svc
Expand Down Expand Up @@ -80,7 +80,7 @@ protected function trigger($name, $args = [], $halt = false)
* Trigger an event until the first non-null response is returned
*
* @param string $name
* @param array $args
* @param mixed $args
* @return mixed
* @link https://github.com/laravel/framework/blob/5.1/src/Illuminate/Events/Dispatcher.php#L161
* @svc
Expand Down

0 comments on commit 482891c

Please sign in to comment.