Skip to content
Snippets Groups Projects

Issue #3333906: Fatal error on install

@@ -155,7 +155,7 @@ class TwigComponentLoader implements LoaderInterface {
/**
* {@inheritdoc}
*/
public function isFresh($name, $time) {
public function isFresh($name, $time): bool {
$file_is_fresh = static fn(string $path) => filemtime($path) < $time;
try {
$component = $this->parseIdAndLoadComponent($name);
Loading