- fixed a changed interface execute() event
This commit is contained in:
1 parent
f197443871
commit
9507a1e596
1 file changed
+1
-1
+1
-1
@@ -59,7 +59,7 @@ trait CacheTrait
|
|||||||
$this->eventRegister(new class($this->cache, $this->entityCacheKey()) implements Event\Query\Update {
|
$this->eventRegister(new class($this->cache, $this->entityCacheKey()) implements Event\Query\Update {
|
||||||
use Cache\CacheEventTrait;
|
use Cache\CacheEventTrait;
|
||||||
|
|
||||||
public function execute(RepositoryInterface $repository, object|array $entity, ?array $dataset = null, bool $replace = false): void
|
public function execute(RepositoryInterface $repository, object|array $entity, array $dataset, array $diff, bool $replace = false): void
|
||||||
{
|
{
|
||||||
$this->purgeCache();
|
$this->purgeCache();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user