Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 13, 2024
1 parent 1990314 commit 9889b46
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Db/Adapter/PhinxAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
use Migrations\Db\Table\ForeignKey;
use Migrations\Db\Table\Index;
use Migrations\Db\Table\Table;
use PDO;
use Phinx\Db\Action\Action as PhinxAction;
use Phinx\Db\Action\AddColumn as PhinxAddColumn;
use Phinx\Db\Action\AddForeignKey as PhinxAddForeignKey;
Expand Down Expand Up @@ -748,9 +747,9 @@ public function castToBool($value): mixed
}

/**
* @return \PDO
* @return \Cake\Database\Connection
*/
public function getConnection(): PDO
public function getConnection(): Connection

Check warning on line 752 in src/Db/Adapter/PhinxAdapter.php

View check run for this annotation

Codecov / codecov/patch

src/Db/Adapter/PhinxAdapter.php#L752

Added line #L752 was not covered by tests
{
return $this->adapter->getConnection();
}
Expand Down

0 comments on commit 9889b46

Please sign in to comment.