Skip to content

Commit b496d5f

Browse files
authored
fix(FsEventScheduler): Add parameter type
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 24b9656 commit b496d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/FsEventScheduler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private function retractEvent(FsEventType $type, string $ownerId, int $nodeId) {
6363
* @throws NotFoundException
6464
* @throws Exception
6565
*/
66-
public function onAccessUpdateDecl(int $nodeId, $ownerId = null): void {
66+
public function onAccessUpdateDecl(int $nodeId, ?string $ownerId = null): void {
6767
if ($ownerId === null) {
6868
$ownerId = $this->storageService->getOwnerForFileId($nodeId);
6969
if ($ownerId === false) {

0 commit comments

Comments
 (0)