Skip to content

Commit

Permalink
Fix docblock for Model::getEventDispatcher() (#52602)
Browse files Browse the repository at this point in the history
* Update Model.php

* Update HasEvents.php

* Update HasEvents.php

* Update Model.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
inmula and taylorotwell authored Aug 31, 2024
1 parent 48cdbab commit 5ac2aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Concerns/HasEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public function dispatchesEvents()
/**
* Get the event dispatcher instance.
*
* @return \Illuminate\Contracts\Events\Dispatcher
* @return \Illuminate\Contracts\Events\Dispatcher|null
*/
public static function getEventDispatcher()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt
/**
* The event dispatcher instance.
*
* @var \Illuminate\Contracts\Events\Dispatcher
* @var \Illuminate\Contracts\Events\Dispatcher|null
*/
protected static $dispatcher;

Expand Down

0 comments on commit 5ac2aa9

Please sign in to comment.