aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-11-07 09:03:36 +0100
committerJoas Schilling <coding@schilljs.com>2024-11-07 09:03:36 +0100
commit5faa6e48e536271f46f19ae3854899660984de98 (patch)
tree49da89f11af5976dc084f1492ed5a9c9f1ac3048
parentc3c8b7e2a3cbb7809891bdd13559127d984ad7f8 (diff)
downloadnextcloud-server-5faa6e48e536271f46f19ae3854899660984de98.tar.gz
nextcloud-server-5faa6e48e536271f46f19ae3854899660984de98.zip
fix(richobjectstrings): Improve array type
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/RichObjectStrings/Validator.php2
-rw-r--r--lib/public/RichObjectStrings/IValidator.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/RichObjectStrings/Validator.php b/lib/private/RichObjectStrings/Validator.php
index 8b099047221..d1148940200 100644
--- a/lib/private/RichObjectStrings/Validator.php
+++ b/lib/private/RichObjectStrings/Validator.php
@@ -27,7 +27,7 @@ class Validator implements IValidator {
/**
* @param string $subject
- * @param array<non-empty-string, array> $parameters
+ * @param array<non-empty-string, array<non-empty-string, string>> $parameters
* @throws InvalidObjectExeption
* @since 11.0.0
*/
diff --git a/lib/public/RichObjectStrings/IValidator.php b/lib/public/RichObjectStrings/IValidator.php
index c97eda1aa80..a6c82d34259 100644
--- a/lib/public/RichObjectStrings/IValidator.php
+++ b/lib/public/RichObjectStrings/IValidator.php
@@ -22,7 +22,7 @@ interface IValidator {
/**
* @param string $subject
- * @param array<non-empty-string, array> $parameters
+ * @param array<non-empty-string, array<non-empty-string, string>> $parameters
* @throws InvalidObjectExeption
* @since 11.0.0
*/