From 4f2bcd308ef648d16c54cd1e952ad35423997fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20=C3=96zbek?= Date: Wed, 25 Jan 2023 22:08:42 +0300 Subject: [PATCH] Fix default config exception on Laravel 9 --- src/Support/Responder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Support/Responder.php b/src/Support/Responder.php index bc26acf..e239220 100644 --- a/src/Support/Responder.php +++ b/src/Support/Responder.php @@ -23,7 +23,7 @@ public function respond($response, $data = []) if ($response['abort']) { abort( $response['code'], - $response['message'] + $response['message'] ?? '' ); }