diff --git a/src/Worker/Controller.php b/src/Worker/Controller.php index 161862a..4f22b50 100644 --- a/src/Worker/Controller.php +++ b/src/Worker/Controller.php @@ -64,7 +64,7 @@ public function bindActionParams($action, $params) { /* @var $param \ReflectionParameter */ $name = $param->getName(); if (isset($params[$name])) { - if ($param->isArray()) { + if ($param->isArray() && !is_array($params[$name])) { $args[] = preg_split('/\s*,\s*/', $params[$name]); } else { $args[] = $params[$name];