Skip to content

Commit 1177728

Browse files
committed
Fix ComponentDebugCommand failing tests
1 parent c4ca3b4 commit 1177728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigComponent/src/Command/ComponentDebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
190190
}
191191
} else {
192192
$templateFile = "{$reflectionClass->getShortName()}.html.twig";
193-
$metadata = $this->componentFactory->metadataFor($reflectionClass->getShortName());
193+
$metadata = $this->componentFactory->metadataFor($reflectionClass->getName());
194194
}
195195

196196
$componentsWithClass[] = [

0 commit comments

Comments
 (0)