Browse Source
code style and dispatchTyped
Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/24113/head
Robin Appelman
6 years ago
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
3 changed files with
1 additions and
4 deletions
-
lib/private/Files/Cache/Cache.php
-
lib/public/Files/Cache/CacheEntryInsertedEvent.php
-
lib/public/Files/Cache/CacheEntryUpdatedEvent.php
|
|
|
@ -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; |
|
|
|
|
|
|
|
/** |
|
|
|
|