- added more type-hints
This commit is contained in:
Roland Häder
2022-06-20 00:51:59 +02:00
parent 7528b79469
commit a0c8fc6d6e
5 changed files with 31 additions and 42 deletions

View File

@@ -71,7 +71,7 @@ class Renderer
* @return string
* @throws ServiceUnavailableException
*/
public static function replaceMacros(string $template, array $vars = [])
public static function replaceMacros(string $template, array $vars = []): string
{
DI::profiler()->startRecording('rendering');