@@ -131,10 +131,10 @@ |
||
131 | 131 | $view = new View($viewsPath, $helpers); |
132 | 132 | |
133 | 133 | // TODO move to own ViewExtension class |
134 | - $view->registerHelper('escape', function (string $string) { |
|
134 | + $view->registerHelper('escape', function(string $string) { |
|
135 | 135 | return htmlspecialchars($string); |
136 | 136 | }); |
137 | - $view->registerHelper('url', function ($args) { |
|
137 | + $view->registerHelper('url', function($args) { |
|
138 | 138 | return UrlHelper::to($args); |
139 | 139 | }); |
140 | 140 |