Skip to content
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

[11.x] Make withoutDefer also return $this #53644

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

tamiroh
Copy link
Contributor

@tamiroh tamiroh commented Nov 24, 2024

For consistency with other similar methods in the same trait, it is better to make the withoutDefer method also return $this.

I also think it may be a forgetting of the return statement since it is written as @return $this on the PHPDoc.

@tamiroh tamiroh changed the title Make InteractsWithContainer::withoutDefer also return $this [11.x ]Make InteractsWithContainer::withoutDefer also return $this Nov 24, 2024
@tamiroh tamiroh changed the title [11.x ]Make InteractsWithContainer::withoutDefer also return $this [11.x] Make InteractsWithContainer::withoutDefer also return $this Nov 24, 2024
@tamiroh tamiroh changed the title [11.x] Make InteractsWithContainer::withoutDefer also return $this [11.x] Make withoutDefer also return $this Nov 24, 2024
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@tamiroh tamiroh marked this pull request as ready for review November 24, 2024 01:49
@taylorotwell taylorotwell merged commit 74d9639 into laravel:11.x Nov 25, 2024
40 checks passed
@tamiroh tamiroh deleted the add-missing-return-this branch November 30, 2024 07:05
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