From d07a1f9d866f7a26d1580676ab47a3be572676a3 Mon Sep 17 00:00:00 2001 From: Takayasu Oyama Date: Fri, 18 Oct 2024 10:18:33 +0900 Subject: [PATCH 1/2] fix phpdoc --- src/Illuminate/Database/Connection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Connection.php b/src/Illuminate/Database/Connection.php index 855db0d672d4..80133d0a8b8b 100755 --- a/src/Illuminate/Database/Connection.php +++ b/src/Illuminate/Database/Connection.php @@ -106,7 +106,7 @@ class Connection implements ConnectionInterface /** * The event dispatcher instance. * - * @var \Illuminate\Contracts\Events\Dispatcher + * @var \Illuminate\Contracts\Events\Dispatcher|null */ protected $events; @@ -127,7 +127,7 @@ class Connection implements ConnectionInterface /** * The transaction manager instance. * - * @var \Illuminate\Database\DatabaseTransactionsManager + * @var \Illuminate\Database\DatabaseTransactionsManager|null */ protected $transactionsManager; From bf021ce4b7631808e63cdbdcac02d589cad963d2 Mon Sep 17 00:00:00 2001 From: Takayasu Oyama Date: Fri, 18 Oct 2024 10:35:36 +0900 Subject: [PATCH 2/2] fix int -> float --- src/Illuminate/Database/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Connection.php b/src/Illuminate/Database/Connection.php index 80133d0a8b8b..17056a9e4de0 100755 --- a/src/Illuminate/Database/Connection.php +++ b/src/Illuminate/Database/Connection.php @@ -865,7 +865,7 @@ public function logQuery($query, $bindings, $time = null) /** * Get the elapsed time since a given starting point. * - * @param int $start + * @param float $start * @return float */ protected function getElapsedTime($start)