Skip to content

Conversation

@wietsewarendorff
Copy link
Contributor

Since routes accept BackedEnums it makes sense to allow them when using fromRoute in tests too

@crynobone crynobone changed the title [11.x] Allow BackedEnum when using fromRoute in MakesHttpRequests [11.x] Allow BackedEnum when using fromRoute() in MakesHttpRequests Nov 20, 2024
@wietsewarendorff
Copy link
Contributor Author

@crynobone thanks for the improvement

I prefer imports too, but I am unsure when to use it. Is there a rule? For example, it's not done here so I didn't import it in this PR.
My goal is to do it right immediately next time.

@taylorotwell taylorotwell merged commit c8bd59f into laravel:11.x Nov 20, 2024
31 checks passed
@taylorotwell
Copy link
Member

@wietsewarendorff we pretty much always import.

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.

3 participants