Skip to content

Commit 5b6a20c

Browse files
committed
fix: make getNotesFolderUserPath return nullable string
Signed-off-by: Cleopatra Enjeck M. <[email protected]>
1 parent bb4370b commit 5b6a20c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/NoteUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function getOrCreateFolder(string $path, bool $create = true) : Folder {
183183
return $folder;
184184
}
185185

186-
public function getNotesFolderUserPath(string $userId): string {
186+
public function getNotesFolderUserPath(string $userId): ?string {
187187
/** @psalm-suppress MissingDependency */
188188
$userFolder = $this->getRoot()->getUserFolder($userId);
189189
$nodesFolder = $this->getOrCreateNotesFolder($userId, false);

0 commit comments

Comments
 (0)