1 Commits
Author SHA1 Message Date
Dave Mc Nicoll 9507a1e596 - fixed a changed interface execute() event 2026-10-22 19:43:31 +00:00
+1 -1
View File
@@ -59,7 +59,7 @@ trait CacheTrait
$this->eventRegister(new class($this->cache, $this->entityCacheKey()) implements Event\Query\Update {
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();
}