chore: Типы для параметров
This commit is contained in:
parent
6ef65fc826
commit
36c81135f3
7 changed files with 55 additions and 95 deletions
|
|
@ -119,7 +119,8 @@ class Action
|
|||
if(file_exists($template)) { break; }
|
||||
}
|
||||
|
||||
$tpl/*: Composite*/ = new $viewClass($template);
|
||||
/** @var \ctiso\View\Composite */
|
||||
$tpl = new $viewClass($template);
|
||||
$tpl->config = $this->config;
|
||||
|
||||
$stylePath = Path::join($webPath, "assets", "css");
|
||||
|
|
@ -140,8 +141,6 @@ class Action
|
|||
'template' => $list
|
||||
]);
|
||||
|
||||
$tpl->loadImports(Path::skipExtension($template) . ".import");
|
||||
|
||||
$this->addSuggest($tpl, $name);
|
||||
return $tpl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue