Skip to content

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

Closed
micc83 wants to merge 1 commit into
laravel:masterfrom
micc83:patch-1
Closed

[5.6] Add phpdoc with $factory type hint in factory stub#24647
micc83 wants to merge 1 commit into
laravel:masterfrom
micc83:patch-1

Conversation

@micc83

@micc83 micc83 commented Jun 21, 2018

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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