Skip to content

Commit

Permalink
php-cs-fixer it up
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed May 23, 2023
1 parent 9076e71 commit ae32f23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Maker/Security/MakeJsonLogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ public function generate(InputInterface $input, ConsoleStyle $io, Generator $gen
// if ($controllerExists) {
// $manipulator = new ClassSourceManipulator(file_get_contents($controllerPath));

$this->securityControllerBuilder->addJsonLoginMethod($manipulator, $userClassDetails);
$this->securityControllerBuilder->addJsonLoginMethod($manipulator, $userClassDetails);

$generator->dumpFile($controllerPath, $manipulator->getSourceCode());
$generator->writeChanges();
$generator->dumpFile($controllerPath, $manipulator->getSourceCode());
$generator->writeChanges();

$this->runFixer($controllerPath);
$this->runFixer($controllerPath);
// } else {
// $controllerPath = $generator->generateController(
// $controllerNameDetails->getFullName(),
Expand Down

0 comments on commit ae32f23

Please sign in to comment.