Skip to content

Commit 2a4561b

Browse files
committed
update method
1 parent 6d97175 commit 2a4561b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Cache/FailoverStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function flush()
170170
public function flushStaleTags()
171171
{
172172
foreach ($this->stores as $store) {
173-
if ($this->store($store) instanceof RedisStore) {
173+
if ($this->store($store)->getStore() instanceof RedisStore) {
174174
$this->store($store)->flushStaleTags();
175175

176176
break;

0 commit comments

Comments
 (0)