Skip to content

[5.6] Add phpdoc with $factory type hint in factory stub #24647

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 1 commit into from

Conversation

micc83
Copy link
Contributor

@micc83 micc83 commented Jun 21, 2018

It would be pretty convenient to have $factory typehinted in generated factories so that the IDE knows how to handle that $factory var.

Ps. It's obviously not breaking any existing feature. Also I guess it would be pointless to test it.

It would be pretty convenient to have $factory typehinted in generated factories so that the IDE knows how to handle that $factory var.
@GrahamCampbell GrahamCampbell changed the title Add phpdoc with $factory type hint in factory stub [5.6] Add phpdoc with $factory type hint in factory stub Jun 21, 2018
@taylorotwell
Copy link
Member

No plans on adding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants