Fix array dispatch after test

This commit is contained in:
Dennis Eichhorn 2017-10-01 15:16:30 +02:00
parent e4efa28263
commit e34f0fe715

View File

@ -135,9 +135,7 @@ class Dispatcher
{ {
$views = []; $views = [];
foreach ($controller as $controllerSingle) { foreach ($controller as $controllerSingle) {
foreach ($controllerSingle as $c) { $views += $this->dispatch($controllerSingle, ...$data);
$views += $this->dispatch($c, ...$data);
}
} }
return $views; return $views;