Skip to content

Fixing details #238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Fixing details #238

wants to merge 2 commits into from

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Oct 23, 2015

  • Fixing imports (unused or missing).
  • Adding type hinting.
  • Fixed variable definition.

@@ -109,6 +109,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->usernameValidator($username);

$repository = $this->entityManager->getRepository('AppBundle:User');
/** @var User $user */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yceruto, I think it's better to use a FQCN here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@voronkovich why it's better to use a FQCN here? please, could you explain a little more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yceruto, using FQCN doesn't require to import User class.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, fixed! thanks @voronkovich

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed by @xabbuh comment

defining variable

using the User FQCN in comments

Revert "using the User FQCN in comments"

This reverts commit 8af0353.
@javiereguiluz
Copy link
Member

Thanks @yceruto.

@yceruto yceruto deleted the fixing-details branch October 30, 2015 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants