mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
code style and dispatchTyped
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
e9234782a2
commit
5e8e252a64
3 changed files with 1 additions and 4 deletions
|
|
@ -549,7 +549,7 @@ class Cache implements ICache {
|
|||
$this->removeChildren($entry);
|
||||
}
|
||||
|
||||
$this->eventDispatcher->dispatch(CacheEntryRemovedEvent::class, new CacheEntryRemovedEvent($this->storage, $entry->getPath(), $entry->getId(), $this->getNumericStorageId()));
|
||||
$this->eventDispatcher->dispatchTyped(new CacheEntryRemovedEvent($this->storage, $entry->getPath(), $entry->getId(), $this->getNumericStorageId()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -709,7 +709,6 @@ class Cache implements ICache {
|
|||
} else {
|
||||
$this->moveFromCacheFallback($sourceCache, $sourcePath, $targetPath);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\Files\Cache;
|
||||
|
||||
|
||||
use OC\Files\Cache\AbstractCacheEvent;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ declare(strict_types=1);
|
|||
|
||||
namespace OCP\Files\Cache;
|
||||
|
||||
|
||||
use OC\Files\Cache\AbstractCacheEvent;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue