Skip to content

Commit 8af0353

Browse files
committed
using the User FQCN in comments
1 parent 3d771f1 commit 8af0353

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AppBundle/Command/DeleteUserCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace AppBundle\Command;
1313

14-
use AppBundle\Entity\User;
1514
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
1615
use Symfony\Component\Console\Input\InputArgument;
1716
use Symfony\Component\Console\Input\InputInterface;
@@ -109,7 +108,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
109108
$this->usernameValidator($username);
110109

111110
$repository = $this->entityManager->getRepository('AppBundle:User');
112-
/** @var User $user */
111+
/** @var \AppBundle\Entity\User $user */
113112
$user = $repository->findOneByUsername($username);
114113

115114
if (null === $user) {

0 commit comments

Comments
 (0)