From 1313ed297592d5fe8aaa82746ae6a6b7349b4b3c Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Thu, 7 Nov 2024 17:39:56 +0100 Subject: [PATCH] Update MysqliQueryReflector.php --- src/QueryReflection/MysqliQueryReflector.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/QueryReflection/MysqliQueryReflector.php b/src/QueryReflection/MysqliQueryReflector.php index ffa249d6d..7a115355d 100644 --- a/src/QueryReflection/MysqliQueryReflector.php +++ b/src/QueryReflection/MysqliQueryReflector.php @@ -42,17 +42,11 @@ final class MysqliQueryReflector implements QueryReflector, RecordingReflector /** * @var array|null> */ - private $cache = []; + private array $cache = []; - /** - * @var mysqli - */ - private $db; + private mysqli $db; - /** - * @var MysqliTypeMapper - */ - private $typeMapper; + private MysqliTypeMapper $typeMapper; public function __construct(mysqli $mysqli) {