diff --git a/tests/Platforms/MySQL/ComparatorTest.php b/tests/Platforms/MySQL/ComparatorTest.php index b30ef377d2..da57a11bf1 100644 --- a/tests/Platforms/MySQL/ComparatorTest.php +++ b/tests/Platforms/MySQL/ComparatorTest.php @@ -9,13 +9,12 @@ use Doctrine\DBAL\Platforms\MySQL\Comparator; use Doctrine\DBAL\Platforms\MySQL\DefaultTableOptions; use Doctrine\DBAL\Platforms\MySQLPlatform; -use Doctrine\DBAL\Schema\Comparator as SchemaComparator; use Doctrine\DBAL\Schema\ComparatorConfig; use Doctrine\DBAL\Tests\Schema\AbstractComparatorTestCase; class ComparatorTest extends AbstractComparatorTestCase { - protected function createComparator(ComparatorConfig $config): SchemaComparator + protected function createComparator(ComparatorConfig $config): Comparator { return new Comparator( new MySQLPlatform(), diff --git a/tests/Platforms/SQLServer/ComparatorTest.php b/tests/Platforms/SQLServer/ComparatorTest.php index 1adf7a8004..682fc20445 100644 --- a/tests/Platforms/SQLServer/ComparatorTest.php +++ b/tests/Platforms/SQLServer/ComparatorTest.php @@ -6,13 +6,12 @@ use Doctrine\DBAL\Platforms\SQLServer\Comparator; use Doctrine\DBAL\Platforms\SQLServerPlatform; -use Doctrine\DBAL\Schema\Comparator as SchemaComparator; use Doctrine\DBAL\Schema\ComparatorConfig; use Doctrine\DBAL\Tests\Schema\AbstractComparatorTestCase; class ComparatorTest extends AbstractComparatorTestCase { - protected function createComparator(ComparatorConfig $config): SchemaComparator + protected function createComparator(ComparatorConfig $config): Comparator { return new Comparator(new SQLServerPlatform(), '', $config); } diff --git a/tests/Platforms/SQLite/ComparatorTest.php b/tests/Platforms/SQLite/ComparatorTest.php index 172fc4f6b8..59275581dd 100644 --- a/tests/Platforms/SQLite/ComparatorTest.php +++ b/tests/Platforms/SQLite/ComparatorTest.php @@ -6,13 +6,12 @@ use Doctrine\DBAL\Platforms\SQLite\Comparator; use Doctrine\DBAL\Platforms\SQLitePlatform; -use Doctrine\DBAL\Schema\Comparator as SchemaComparator; use Doctrine\DBAL\Schema\ComparatorConfig; use Doctrine\DBAL\Tests\Schema\AbstractComparatorTestCase; class ComparatorTest extends AbstractComparatorTestCase { - protected function createComparator(ComparatorConfig $config): SchemaComparator + protected function createComparator(ComparatorConfig $config): Comparator { return new Comparator(new SQLitePlatform(), $config); }