Skip to content

[11.x] Early return in Factory::modelName()#53912

Merged
taylorotwell merged 1 commit intolaravel:11.xfrom
shaedrich:simplify-factory-model-name-resolver-method
Dec 16, 2024
Merged

[11.x] Early return in Factory::modelName()#53912
taylorotwell merged 1 commit intolaravel:11.xfrom
shaedrich:simplify-factory-model-name-resolver-method

Conversation

@shaedrich
Copy link
Copy Markdown
Contributor

@shaedrich shaedrich commented Dec 16, 2024

Early return in Factory::modelName() to avoid possibly defining a function that will not be used

(Inspired by #53902)

to avoid possibliy defining a function that will not be used
@taylorotwell taylorotwell merged commit 603b0cf into laravel:11.x Dec 16, 2024
@shaedrich shaedrich deleted the simplify-factory-model-name-resolver-method branch December 16, 2024 16:03
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