Skip to content

Commit

Permalink
Fix ComponentDebugCommand failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Sep 28, 2023
1 parent f20504b commit 24b96a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwigComponent/src/Command/ComponentDebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
}
} else {
$templateFile = "{$reflectionClass->getShortName()}.html.twig";
$metadata = $this->componentFactory->metadataFor($reflectionClass->getShortName());
$metadata = $this->componentFactory->metadataFor($reflectionClass->getName());
}

$componentsWithClass[] = [
Expand Down

0 comments on commit 24b96a2

Please sign in to comment.