]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(richobjectstrings): Improve array type
authorJoas Schilling <coding@schilljs.com>
Thu, 7 Nov 2024 08:03:36 +0000 (09:03 +0100)
committerJoas Schilling <coding@schilljs.com>
Thu, 7 Nov 2024 08:03:36 +0000 (09:03 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/RichObjectStrings/Validator.php
lib/public/RichObjectStrings/IValidator.php

index 8b0990472212e9d2a26b5b66bfb5a97b01b30365..d1148940200a99a87796a541253803b8182cfa84 100644 (file)
@@ -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
         */
index c97eda1aa806a17f1d1d2e7bf041502a26ad884f..a6c82d342592ce9ea5ba67776b6822d5e556c22b 100644 (file)
@@ -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
         */