From 27801febe07fb10875412291e001adae588f8a27 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Sun, 9 Nov 2025 02:32:03 -0600 Subject: [PATCH] align code with phpdb 0.3.x-dev Signed-off-by: Joey Smith Signed-off-by: Joey Smith --- src/Driver/Mysqli/Connection.php | 2 +- src/Driver/Pdo/Connection.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Driver/Mysqli/Connection.php b/src/Driver/Mysqli/Connection.php index c33b2e2..cac21ae 100644 --- a/src/Driver/Mysqli/Connection.php +++ b/src/Driver/Mysqli/Connection.php @@ -58,7 +58,7 @@ public function setDriver(DriverInterface $driver): DriverAwareInterface /** @inheritDoc */ #[Override] - public function getCurrentSchema(): string|bool + public function getCurrentSchema(): string|false { if (! $this->isConnected()) { $this->connect(); diff --git a/src/Driver/Pdo/Connection.php b/src/Driver/Pdo/Connection.php index 27033e7..78dba53 100644 --- a/src/Driver/Pdo/Connection.php +++ b/src/Driver/Pdo/Connection.php @@ -24,7 +24,7 @@ class Connection extends AbstractPdoConnection * {@inheritDoc} */ #[Override] - public function getCurrentSchema(): string|bool + public function getCurrentSchema(): string|false { if (! $this->isConnected()) { $this->connect();