diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-01 21:13:41 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-09-10 16:37:42 +0200 |
commit | f7246a9b7a782412d9d818383e95b9920547af62 (patch) | |
tree | dbc589739e7fc6860d0f3b3f705f56efc0c407f1 /apps/files_sharing | |
parent | d0a827a68430cf716f098b0238a150c2fd9e4c83 (diff) | |
download | nextcloud-server-f7246a9b7a782412d9d818383e95b9920547af62.tar.gz nextcloud-server-f7246a9b7a782412d9d818383e95b9920547af62.zip |
fix(INotification): Restrict rich object parameters type
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/Notification/Notifier.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/Notification/Notifier.php b/apps/files_sharing/lib/Notification/Notifier.php index dd09fb6e20e..2609f99e691 100644 --- a/apps/files_sharing/lib/Notification/Notifier.php +++ b/apps/files_sharing/lib/Notification/Notifier.php @@ -126,9 +126,9 @@ class Notifier implements INotifier { [ 'node' => [ 'type' => 'file', - 'id' => $node->getId(), + 'id' => (string)$node->getId(), 'name' => $node->getName(), - 'path' => $path, + 'path' => (string)$path, ], ] ); |