diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-11-09 10:49:57 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-09 10:49:57 +0100 |
commit | 9305094b8b10a3160dc2200934e86010fadd9a02 (patch) | |
tree | 8a0bbab1fee9fe7b170e2d3fd3b4cfbecbe8f809 /lib/private/RichObjectStrings | |
parent | 92e5fb4053eaa27984db6f6ddb7eaf028a46525b (diff) | |
download | nextcloud-server-9305094b8b10a3160dc2200934e86010fadd9a02.tar.gz nextcloud-server-9305094b8b10a3160dc2200934e86010fadd9a02.zip |
Add test and adjust PHP function arguments
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/RichObjectStrings')
-rw-r--r-- | lib/private/RichObjectStrings/Validator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/RichObjectStrings/Validator.php b/lib/private/RichObjectStrings/Validator.php index de7afa7a7e3..11d17fef645 100644 --- a/lib/private/RichObjectStrings/Validator.php +++ b/lib/private/RichObjectStrings/Validator.php @@ -97,7 +97,7 @@ class Validator implements IValidator { * @param array $definition * @return string[] */ - protected function getRequiredParameters($type, $definition) { + protected function getRequiredParameters($type, array $definition) { if (isset($this->requiredParameters[$type])) { return $this->requiredParameters[$type]; } |