Skip to content
Permalink
Browse files

strict fix

  • Loading branch information...
dg committed Feb 13, 2019
1 parent 0e1431f commit b42b1fa3881a9517209e116b84e9933cde27a95e
Showing with 1 addition and 1 deletion.
  1. +1 −1 Micro-blog/www/data/TemplateRouter.php
@@ -42,7 +42,7 @@ public function scanRoutes(string $path): array
$routes[$node->args] = (string) $file;
}, null, null, $macroSet::ALLOWED_IN_HEAD);
foreach (Nette\Utils\Finder::findFiles('*.latte')->from($path) as $file) {
$latte->compile($file);
$latte->compile((string) $file);
}
return $routes;
}

0 comments on commit b42b1fa

Please sign in to comment.
You can’t perform that action at this time.