- added more type-hints
This commit is contained in:
Roland Häder 2022-06-20 00:51:59 +02:00
parent 7528b79469
commit a0c8fc6d6e
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
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');