Skip to content

Commit 05020d3

Browse files
committed
Clear component structures
1 parent c341e87 commit 05020d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Scout/Scout.php

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ public function get(): Collection
3838

3939
public function clear(): void
4040
{
41+
$this->getComponentStructures()->clear();
42+
4143
Cache::store($this->getCacheStore())->forget($this->getCacheKey());
4244
}
4345

0 commit comments

Comments
 (0)