diff --git a/lib/private/Activity/Event.php b/lib/private/Activity/Event.php index 97ab7d1c935f5..02cfd75805832 100644 --- a/lib/private/Activity/Event.php +++ b/lib/private/Activity/Event.php @@ -259,7 +259,7 @@ public function getRichSubject(): string { } /** - * @return array[] + * @return array> * @since 11.0.0 */ public function getRichSubjectParameters(): array { @@ -335,7 +335,7 @@ public function getRichMessage(): string { } /** - * @return array[] + * @return array> * @since 11.0.0 */ public function getRichMessageParameters(): array { diff --git a/lib/public/Activity/IEvent.php b/lib/public/Activity/IEvent.php index f204de599b9c8..eba426c5ecffb 100644 --- a/lib/public/Activity/IEvent.php +++ b/lib/public/Activity/IEvent.php @@ -121,7 +121,7 @@ public function getParsedSubject(): string; * See https://github.com/nextcloud/server/issues/1706 for more information. * * @param string $subject - * @param array $parameters + * @param array> $parameters * @return $this * @throws InvalidValueException if the subject or parameters are invalid * @since 11.0.0 @@ -136,7 +136,7 @@ public function setRichSubject(string $subject, array $parameters = []): self; public function getRichSubject(): string; /** - * @return array[] + * @return array> * @since 11.0.0 */ public function getRichSubjectParameters(): array; @@ -187,7 +187,7 @@ public function getParsedMessage(): string; * See https://github.com/nextcloud/server/issues/1706 for more information. * * @param string $message - * @param array $parameters + * @param array> $parameters * @return $this * @throws \InvalidArgumentException if the message or parameters are invalid * @since 11.0.0 @@ -202,7 +202,7 @@ public function setRichMessage(string $message, array $parameters = []): self; public function getRichMessage(): string; /** - * @return array[] + * @return array> * @since 11.0.0 */ public function getRichMessageParameters(): array;