aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-01 21:13:41 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-10 16:37:42 +0200
commitf7246a9b7a782412d9d818383e95b9920547af62 (patch)
treedbc589739e7fc6860d0f3b3f705f56efc0c407f1 /lib/public
parentd0a827a68430cf716f098b0238a150c2fd9e4c83 (diff)
downloadnextcloud-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 'lib/public')
-rw-r--r--lib/public/Notification/INotification.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Notification/INotification.php b/lib/public/Notification/INotification.php
index 28d2d6bff5a..4a35ee59087 100644
--- a/lib/public/Notification/INotification.php
+++ b/lib/public/Notification/INotification.php
@@ -137,7 +137,7 @@ interface INotification {
* See https://github.com/nextcloud/server/issues/1706 for more information.
*
* @param string $subject
- * @param array $parameters
+ * @param array<string, array<string, string>> $parameters
* @return $this
* @throws InvalidValueException if the subject or parameters are invalid
* @since 11.0.0
@@ -213,7 +213,7 @@ interface INotification {
* See https://github.com/nextcloud/server/issues/1706 for more information.
*
* @param string $message
- * @param array $parameters
+ * @param array<string, array<string, string>> $parameters
* @return $this
* @throws InvalidValueException if the message or parameters are invalid
* @since 11.0.0