Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
make event constructor backwards compatible just in case
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Sep 16, 2021
commit c0b701f7f153f11899df64fcc0e383a09a989753
2 changes: 1 addition & 1 deletion lib/private/Files/Cache/AbstractCacheEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class AbstractCacheEvent extends Event implements ICacheEvent {
* @param int $fileId
* @since 16.0.0
*/
public function __construct(IStorage $storage, string $path, int $fileId, int $storageId) {
public function __construct(IStorage $storage, string $path, int $fileId, int $storageId = -1) {
$this->storage = $storage;
$this->path = $path;
$this->fileId = $fileId;
Expand Down