Skip to content

Commit

Permalink
Improve event subscriber docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 committed Jun 11, 2020
1 parent 9434ff2 commit 75c1b5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Illuminate/Events/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ public function flush($event)
*
* @param object|string $subscriber
* @return void
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function subscribe($subscriber)
{
Expand All @@ -177,6 +179,8 @@ public function subscribe($subscriber)
*
* @param object|string $subscriber
* @return mixed
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
protected function resolveSubscriber($subscriber)
{
Expand Down

0 comments on commit 75c1b5d

Please sign in to comment.