Skip to content
Snippets Groups Projects
Unverified Commit aef1cdba authored by Robin Appelman's avatar Robin Appelman
Browse files

code style and dispatchTyped


Signed-off-by: default avatarRobin Appelman <robin@icewind.nl>
parent 88f35d52
No related branches found
No related tags found
No related merge requests found
...@@ -549,7 +549,7 @@ class Cache implements ICache { ...@@ -549,7 +549,7 @@ class Cache implements ICache {
$this->removeChildren($entry); $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 { ...@@ -705,7 +705,6 @@ class Cache implements ICache {
} else { } else {
$this->moveFromCacheFallback($sourceCache, $sourcePath, $targetPath); $this->moveFromCacheFallback($sourceCache, $sourcePath, $targetPath);
} }
} }
/** /**
......
...@@ -23,7 +23,6 @@ declare(strict_types=1); ...@@ -23,7 +23,6 @@ declare(strict_types=1);
namespace OCP\Files\Cache; namespace OCP\Files\Cache;
use OC\Files\Cache\AbstractCacheEvent; use OC\Files\Cache\AbstractCacheEvent;
/** /**
......
...@@ -23,7 +23,6 @@ declare(strict_types=1); ...@@ -23,7 +23,6 @@ declare(strict_types=1);
namespace OCP\Files\Cache; namespace OCP\Files\Cache;
use OC\Files\Cache\AbstractCacheEvent; use OC\Files\Cache\AbstractCacheEvent;
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment