Skip to content

Commit

Permalink
Update FormGeneratorCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 24, 2024
1 parent 0a4758f commit 014572e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Command/FormGeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

class FormGeneratorCommand extends Command
{
protected static $defaultName = 'sulu:form:generate-form';

/**
* @var EntityManagerInterface
*/
Expand All @@ -38,7 +36,7 @@ public function __construct(
EntityManagerInterface $entityManager,
WebspaceManagerInterface $webspaceManager
) {
parent::__construct(static::$defaultName);
parent::__construct('sulu:form:generate-form');
$this->entityManager = $entityManager;
$this->webspaceManager = $webspaceManager;
}
Expand Down

0 comments on commit 014572e

Please sign in to comment.