Skip to content

Commit 695f4df

Browse files
committed
bug #1322 [make:crud] fix typo in Kernel::VERSION usage (nacorp)
This PR was merged into the 1.0-dev branch. Discussion ---------- [make:crud] fix typo in Kernel::VERSION usage The recently merged pr #1272 did not correct the use_render_form because of a typo in the Kernel Version Id Commits ------- b056cd2 fix: Kernel::VERSION is wrong for Symfony 6.2
2 parents ce1d424 + b056cd2 commit 695f4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Maker/MakeCrud.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
181181
'entity_twig_var_singular' => $entityTwigVarSingular,
182182
'entity_identifier' => $entityDoctrineDetails->getIdentifier(),
183183
// @legacy - Remove when support for Symfony <6 is dropped
184-
'use_render_form' => Kernel::VERSION_ID < 62000,
184+
'use_render_form' => Kernel::VERSION_ID < 60200,
185185
],
186186
$repositoryVars
187187
)

0 commit comments

Comments
 (0)