Skip to content

Commit 20277fc

Browse files
committed
Fix 2.x -> 3.x merge
1 parent 9a031a8 commit 20277fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigComponent/src/ComponentTemplateFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function findAnonymousComponentTemplate(string $name): ?string
3434
}
3535

3636
$template = rtrim($this->directory, '/').'/'.$componentPath.'/index.html.twig';
37-
if ($loader->exists($template)) {
37+
if ($this->loader->exists($template)) {
3838
return $template;
3939
}
4040

0 commit comments

Comments
 (0)