Skip to content

Commit e49dd91

Browse files
authored
Merge pull request #34 from tyrsson/fix-typing-for-schema-aware-interface
align code with phpdb 0.3.x-dev
2 parents a396bc1 + 27801fe commit e49dd91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Driver/Mysqli/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function setDriver(DriverInterface $driver): DriverAwareInterface
5858

5959
/** @inheritDoc */
6060
#[Override]
61-
public function getCurrentSchema(): string|bool
61+
public function getCurrentSchema(): string|false
6262
{
6363
if (! $this->isConnected()) {
6464
$this->connect();

src/Driver/Pdo/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Connection extends AbstractPdoConnection
2424
* {@inheritDoc}
2525
*/
2626
#[Override]
27-
public function getCurrentSchema(): string|bool
27+
public function getCurrentSchema(): string|false
2828
{
2929
if (! $this->isConnected()) {
3030
$this->connect();

0 commit comments

Comments
 (0)