Bugfix, Document constructor, docker

This commit is contained in:
2022-06-01 12:28:50 +02:00
parent 366dbbd6cf
commit ce3aa574ea
19 changed files with 159 additions and 83 deletions

View File

@@ -60,7 +60,7 @@ class DocumentRoute extends AbstractRoute {
}
try {
$args = array_merge([$router->getUser()], $this->args);
$args = array_merge([$router], $this->args);
$document = $this->reflectionClass->newInstanceArgs($args);
return $document->getCode($params);
} catch (\ReflectionException $e) {