diff --git a/tests/Doctrine/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php b/tests/Doctrine/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php index 4cdccb81e2a..b2a162219bd 100644 --- a/tests/Doctrine/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php +++ b/tests/Doctrine/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php @@ -207,6 +207,8 @@ public function testGetDateTimeTypeDeclarationSql() : void /** * {@inheritDoc} + * + * @psalm-return array */ public function getCreateTableColumnCommentsSQL() : array { diff --git a/tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php b/tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php index 4624e34221e..b58e42ac5a4 100644 --- a/tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php +++ b/tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php @@ -535,6 +535,8 @@ public function testCreateTableColumnTypeComments() : void /** * @return string[] + * + * @psalm-return never-return */ public function getCreateTableColumnCommentsSQL() : array { diff --git a/tests/Doctrine/Tests/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php b/tests/Doctrine/Tests/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php index bdea83eea01..ce0d84ebf02 100644 --- a/tests/Doctrine/Tests/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php +++ b/tests/Doctrine/Tests/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php @@ -351,6 +351,8 @@ public function testModifyLimitQueryWithEmptyOffset() : void /** * {@inheritDoc} + * + * @psalm-return array */ public function getCreateTableColumnCommentsSQL() : array { diff --git a/tests/Doctrine/Tests/DBAL/Platforms/AbstractSQLServerPlatformTestCase.php b/tests/Doctrine/Tests/DBAL/Platforms/AbstractSQLServerPlatformTestCase.php index bb414dd1733..d3031c3b5bc 100644 --- a/tests/Doctrine/Tests/DBAL/Platforms/AbstractSQLServerPlatformTestCase.php +++ b/tests/Doctrine/Tests/DBAL/Platforms/AbstractSQLServerPlatformTestCase.php @@ -661,6 +661,7 @@ public function testAlterTableWithSchemaUpdateColumnComments() : void * {@inheritDoc} * * @group DBAL-543 + * @psalm-return array */ public function getCreateTableColumnCommentsSQL() : array { diff --git a/tests/Doctrine/Tests/DBAL/Platforms/DB2PlatformTest.php b/tests/Doctrine/Tests/DBAL/Platforms/DB2PlatformTest.php index df74690681a..d06345a49f6 100644 --- a/tests/Doctrine/Tests/DBAL/Platforms/DB2PlatformTest.php +++ b/tests/Doctrine/Tests/DBAL/Platforms/DB2PlatformTest.php @@ -128,6 +128,8 @@ protected function getBitOrComparisonExpressionSql(string $value1, string $value /** * {@inheritDoc} + * + * @psalm-return array */ public function getCreateTableColumnCommentsSQL() : array { diff --git a/tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php b/tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php index 35143044c8e..00e5817f2d0 100644 --- a/tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php +++ b/tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php @@ -365,6 +365,8 @@ public function testGenerateTableWithAutoincrement() : void /** * {@inheritDoc} + * + * @psalm-return array */ public function getCreateTableColumnCommentsSQL() : array { diff --git a/tests/Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php b/tests/Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php index 3ba3e976cc0..377319c2d8c 100644 --- a/tests/Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php +++ b/tests/Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php @@ -114,6 +114,8 @@ protected function getQuotedColumnInPrimaryKeySQL() : array /** * {@inheritDoc} + * + * @psalm-return array */ public function getCreateTableColumnCommentsSQL() : array {