Changes:
- added more type-hints
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user