From c0212af7fa4e1bce17a3ff95e4096e150d468efe Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 4 Apr 2025 16:30:56 +0200 Subject: [PATCH] chore: lint files_reminders using psalm Signed-off-by: Ferdinand Thiessen --- apps/files_reminders/lib/Notification/Notifier.php | 2 +- build/psalm-baseline.xml | 6 ++++++ psalm.xml | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/files_reminders/lib/Notification/Notifier.php b/apps/files_reminders/lib/Notification/Notifier.php index 565ef9a4695..337ef04c814 100644 --- a/apps/files_reminders/lib/Notification/Notifier.php +++ b/apps/files_reminders/lib/Notification/Notifier.php @@ -76,7 +76,7 @@ class Notifier implements INotifier { [ 'name' => [ 'type' => 'highlight', - 'id' => $node->getId(), + 'id' => (string)$node->getId(), 'name' => $node->getName(), ], ], diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index dc24381b95a..1a94fd88a17 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -843,6 +843,12 @@ + + + + + + diff --git a/psalm.xml b/psalm.xml index 22428fb4725..0fdbc287b5a 100644 --- a/psalm.xml +++ b/psalm.xml @@ -30,6 +30,7 @@ +