Skip to content

[13.x] Replace throw_if/throw_unless with explicit if/throw in src/ - #60944

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
lucasmichot:throw-if-unless-refactor
Jul 30, 2026
Merged

[13.x] Replace throw_if/throw_unless with explicit if/throw in src/#60944
taylorotwell merged 1 commit into
laravel:13.xfrom
lucasmichot:throw-if-unless-refactor

Conversation

@lucasmichot

Copy link
Copy Markdown
Contributor

Replaces throw_if/throw_unless calls in src/ with explicit if statements for readability.

@lucasmichot lucasmichot changed the title Replace throw_if/throw_unless with explicit if/throw in src/ [13.x] Replace throw_if/throw_unless with explicit if/throw in src/ Jul 30, 2026
@taylorotwell
taylorotwell merged commit 9ed11ce into laravel:13.x Jul 30, 2026
55 checks passed
@lucasmichot
lucasmichot deleted the throw-if-unless-refactor branch July 30, 2026 22:25
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