Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[make:twig-component] Improve make:twig-component by reading the configuration file #1571

Merged
merged 14 commits into from
Jun 18, 2024
Prev Previous commit
Next Next commit
Fix code style
  • Loading branch information
shadowc committed Jun 15, 2024
commit 98d77fbdb24f44ee9db94876628c1c0d7ba630a5
2 changes: 1 addition & 1 deletion src/Maker/MakeTwigComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
return;
}

if (!array_key_exists('twig_component', $value) || !array_key_exists('defaults', $value['twig_component'])) {
if (!\array_key_exists('twig_component', $value) || !\array_key_exists('defaults', $value['twig_component'])) {
return;
}

Expand Down
Loading