Skip to content

Conversation

@tamiroh
Copy link
Contributor

@tamiroh tamiroh commented Nov 24, 2024

Since a method that always throws never returns any value, this pull request proposes to use the more precise never type.

@github-actions
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:33
@tamiroh tamiroh changed the title Use never type for methods that always throws [11.x] Use never type for methods that always throws Nov 24, 2024
@taylorotwell taylorotwell merged commit fd189ca into laravel:11.x Nov 25, 2024
38 checks passed
@tamiroh tamiroh deleted the use-never-type branch November 30, 2024 07:06
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