From 9889b46008d2e3d9e173f499001dc02a9e29dbc7 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Wed, 13 Mar 2024 00:27:18 -0400 Subject: [PATCH] More fixes --- src/Db/Adapter/PhinxAdapter.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Db/Adapter/PhinxAdapter.php b/src/Db/Adapter/PhinxAdapter.php index 0656b5f8..f3cf451d 100644 --- a/src/Db/Adapter/PhinxAdapter.php +++ b/src/Db/Adapter/PhinxAdapter.php @@ -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; @@ -748,9 +747,9 @@ public function castToBool($value): mixed } /** - * @return \PDO + * @return \Cake\Database\Connection */ - public function getConnection(): PDO + public function getConnection(): Connection { return $this->adapter->getConnection(); }