From 9305094b8b10a3160dc2200934e86010fadd9a02 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Wed, 9 Nov 2016 10:49:57 +0100 Subject: Add test and adjust PHP function arguments Signed-off-by: Lukas Reschke --- lib/private/RichObjectStrings/Validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/RichObjectStrings') 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]; } -- cgit v1.2.3