Skip to content

Commit a49d6f2

Browse files
jrushlowweaverryan
authored andcommitted
[Internal] [User] removed unused service from make:user
1 parent a6b142e commit a49d6f2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Maker/MakeUser.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
1515
use Symfony\Bundle\MakerBundle\ConsoleStyle;
1616
use Symfony\Bundle\MakerBundle\DependencyBuilder;
17-
use Symfony\Bundle\MakerBundle\Doctrine\DoctrineHelper;
1817
use Symfony\Bundle\MakerBundle\Doctrine\EntityClassGenerator;
1918
use Symfony\Bundle\MakerBundle\Doctrine\ORMDependencyBuilder;
2019
use Symfony\Bundle\MakerBundle\Exception\RuntimeCommandException;
@@ -50,15 +49,13 @@ final class MakeUser extends AbstractMaker
5049

5150
private $configUpdater;
5251

53-
private $doctrineHelper;
5452
private $entityClassGenerator;
5553

56-
public function __construct(FileManager $fileManager, UserClassBuilder $userClassBuilder, SecurityConfigUpdater $configUpdater, DoctrineHelper $doctrineHelper, EntityClassGenerator $entityClassGenerator)
54+
public function __construct(FileManager $fileManager, UserClassBuilder $userClassBuilder, SecurityConfigUpdater $configUpdater, EntityClassGenerator $entityClassGenerator)
5755
{
5856
$this->fileManager = $fileManager;
5957
$this->userClassBuilder = $userClassBuilder;
6058
$this->configUpdater = $configUpdater;
61-
$this->doctrineHelper = $doctrineHelper;
6259
$this->entityClassGenerator = $entityClassGenerator;
6360
}
6461

src/Resources/config/makers.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
<argument type="service" id="maker.file_manager" />
116116
<argument type="service" id="maker.user_class_builder" />
117117
<argument type="service" id="maker.security_config_updater" />
118-
<argument type="service" id="maker.doctrine_helper" />
119118
<argument type="service" id="maker.entity_class_generator" />
120119
<tag name="maker.command" />
121120
</service>

0 commit comments

Comments
 (0)