refactor: Замена строк на имена классов
This commit is contained in:
parent
1d22953f68
commit
82f6dd1630
4 changed files with 30 additions and 18 deletions
|
|
@ -99,7 +99,8 @@ class Component
|
|||
return new FakeTemplate($name);
|
||||
}
|
||||
|
||||
$config/*: Registry*/ = $this->config;
|
||||
/* @var Registry $config */
|
||||
$config = $this->config;
|
||||
$default = $config->get('site', 'template');
|
||||
$template = ($this->template) ? $this->template : $this->getTemplateName($config);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue