Skip to content

Commit

Permalink
Fix event dispatcher typing in cache repository (#51835)
Browse files Browse the repository at this point in the history
  • Loading branch information
axlon authored Jun 19, 2024
1 parent 6be71e1 commit 89eea48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Cache/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Repository implements ArrayAccess, CacheContract
/**
* The event dispatcher implementation.
*
* @var \Illuminate\Contracts\Events\Dispatcher
* @var \Illuminate\Contracts\Events\Dispatcher|null
*/
protected $events;

Expand Down Expand Up @@ -661,7 +661,7 @@ protected function event($event)
/**
* Get the event dispatcher instance.
*
* @return \Illuminate\Contracts\Events\Dispatcher
* @return \Illuminate\Contracts\Events\Dispatcher|null
*/
public function getEventDispatcher()
{
Expand Down

0 comments on commit 89eea48

Please sign in to comment.