Skip to content

Commit

Permalink
fix: Apply types for Notifier
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Oct 10, 2024
1 parent d884782 commit ce13589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Notification/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ public function prepare(INotification $notification, string $languageCode): INot
],
'node' => [
'type' => 'file',
'id' => $node->getId(),
'id' => (string)$node->getId(),
'name' => $node->getName(),
'path' => $userFolder->getRelativePath($node->getPath()),
'path' => $userFolder->getRelativePath($node->getPath()) ?? '',
'link' => $fileLink,
],
]);
Expand Down

0 comments on commit ce13589

Please sign in to comment.