Fix ci lint.

This commit is contained in:
Wilmer Arambula
2024-05-28 11:54:31 -04:00
parent 7a8b9d63ad
commit af705d9eb2

View File

@ -131,7 +131,6 @@ class Controller extends \yii\base\Controller
if (array_key_exists($name, $params)) {
$isValid = true;
$isArray = ($type = $param->getType()) instanceof \ReflectionNamedType && $type->getName() === 'array';
if ($isArray) {
$params[$name] = (array)$params[$name];
} elseif (is_array($params[$name])) {