Skip to content

Commit 7c4ca1a

Browse files
[8.x] Fix typehints on cache repositories (#40250)
* Fix typehints on cache repositories * Update Repository.php Co-authored-by: Taylor Otwell <[email protected]>
1 parent 8b63611 commit 7c4ca1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Illuminate/Cache/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ public function getStore()
578578
/**
579579
* Fire an event for this cache instance.
580580
*
581-
* @param string $event
581+
* @param object|string $event
582582
* @return void
583583
*/
584584
protected function event($event)

src/Illuminate/Cache/TaggedCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function taggedItemKey($key)
105105
/**
106106
* Fire an event for this cache instance.
107107
*
108-
* @param string $event
108+
* @param \Illuminate\Cache\Events\CacheEvent $event
109109
* @return void
110110
*/
111111
protected function event($event)

0 commit comments

Comments
 (0)