diff --git a/src/Jackalope/Transport/DoctrineDBAL/Client.php b/src/Jackalope/Transport/DoctrineDBAL/Client.php index 08a84c9a..05103137 100644 --- a/src/Jackalope/Transport/DoctrineDBAL/Client.php +++ b/src/Jackalope/Transport/DoctrineDBAL/Client.php @@ -28,7 +28,6 @@ use PHPCR\Util\UUIDHelper; use PHPCR\Util\PathHelper; use Doctrine\DBAL\Connection; -use Doctrine\DBAL\Driver\PDOConnection; use Doctrine\DBAL\DBALException; use Doctrine\DBAL\Platforms\PostgreSqlPlatform; use Doctrine\DBAL\Platforms\SqlitePlatform; @@ -204,11 +203,11 @@ public function __construct(FactoryInterface $factory, Connection $conn) /** * @TODO: move to "SqlitePlatform" and rename to "registerExtraFunctions"? * - * @param PDOConnection $sqliteConnection + * @param \PDO $sqliteConnection * * @return Client */ - private function registerSqliteFunctions(PDOConnection $sqliteConnection) + private function registerSqliteFunctions(\PDO $sqliteConnection) { $sqliteConnection->sqliteCreateFunction('EXTRACTVALUE', function ($string, $expression) { if (null === $string) {