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();