From 434d4a5804ee5b9343444e790b0d0d0d7ca0fed2 Mon Sep 17 00:00:00 2001 From: WooHyunPark Date: Sun, 7 May 2023 17:27:49 +0900 Subject: [PATCH] Update Database.php Fix Database Checkers Error In Laravel 10. Since Laravel 10, DB::select method doesn't require Expression object(DB::raw) --- src/Checkers/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Checkers/Database.php b/src/Checkers/Database.php index 4a811820..c4fb83b5 100644 --- a/src/Checkers/Database.php +++ b/src/Checkers/Database.php @@ -52,7 +52,7 @@ protected function rawQuery() Timer::start(); DB::connection($this->getConnectionName())->select( - DB::raw($this->target->query) + $this->target->query ); $took = round(Timer::stop(), 5);