encapsulate templates
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
e52793c69e
commit
bccf236738
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ class Manager implements IManager {
|
|||
$templates = $creator->getTemplates();
|
||||
}
|
||||
}
|
||||
return $templates;
|
||||
$return = [];
|
||||
$return['templates'] = $templates;
|
||||
return $return;
|
||||
}
|
||||
|
||||
public function create(string $path, string $editorId, string $creatorId, $templateId = null): string {
|
||||
|
|
Loading…
Reference in a new issue