code style and dispatchTyped
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
88f35d52d2
commit
aef1cdba03
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -705,7 +705,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 New Issue