Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

[5.x] Simplify control flow#1645

Merged
taylorotwell merged 1 commit intolaravel:5.xfrom
AhmedAlaa4611:simplify-control-flow
Oct 12, 2025
Merged

[5.x] Simplify control flow#1645
taylorotwell merged 1 commit intolaravel:5.xfrom
AhmedAlaa4611:simplify-control-flow

Conversation

@AhmedAlaa4611
Copy link
Contributor

Description

  • Since the return value isn't used and the intent is simply to remove the provider if the method exists, this change simplifies the logic by directly calling the method when available.
  • No need to return early; just call the method if it exists.

@taylorotwell taylorotwell merged commit 67d9794 into laravel:5.x Oct 12, 2025
18 checks passed
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