🧠Laravel devs — this is mostly about readability.
abort_if, report_if, and throw_if are cleaner than verbose if blocks.
And if you want it consistent everywhere, the rector-laravel set can automate it.
Small change.
Cleaner code.
Back