[9.x] Adds throwUnless function (#42556)
[9.x] Adds throwUnless function (#42556)

* Adds throwUnless function

* Update PendingRequest.php

Co-authored-by: Taylor Otwell <5d74ae093a16a00e5af127763f2dc7e13988f162@laravel.com>
leo108/laravel_framework,arturock/framework,lucasmichot/framework,morrislaptop/framework,JamesForks/framework,arturock/framework,driesvints/framework,arturock/framework,leo108/laravel_framework,morrislaptop/framework,JamesForks/framework,lucasmichot/framework,hafezdivandari/framework,driesvints/framework,laravel/framework,hafezdivandari/framework,laravel/framework