Skip to content

Commit 193ebc5

Browse files
committed
never return
1 parent b671e04 commit 193ebc5

7 files changed

+13
-0
lines changed

tests/Doctrine/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ public function testGetDateTimeTypeDeclarationSql() : void
207207

208208
/**
209209
* {@inheritDoc}
210+
*
211+
* @psalm-return array
210212
*/
211213
public function getCreateTableColumnCommentsSQL() : array
212214
{

tests/Doctrine/Tests/DBAL/Platforms/AbstractPlatformTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,8 @@ public function testCreateTableColumnTypeComments() : void
535535

536536
/**
537537
* @return string[]
538+
*
539+
* @psalm-return never-return
538540
*/
539541
public function getCreateTableColumnCommentsSQL() : array
540542
{

tests/Doctrine/Tests/DBAL/Platforms/AbstractPostgreSqlPlatformTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ public function testModifyLimitQueryWithEmptyOffset() : void
351351

352352
/**
353353
* {@inheritDoc}
354+
*
355+
* @psalm-return array
354356
*/
355357
public function getCreateTableColumnCommentsSQL() : array
356358
{

tests/Doctrine/Tests/DBAL/Platforms/AbstractSQLServerPlatformTestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ public function testAlterTableWithSchemaUpdateColumnComments() : void
661661
* {@inheritDoc}
662662
*
663663
* @group DBAL-543
664+
* @psalm-return array
664665
*/
665666
public function getCreateTableColumnCommentsSQL() : array
666667
{

tests/Doctrine/Tests/DBAL/Platforms/DB2PlatformTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ protected function getBitOrComparisonExpressionSql(string $value1, string $value
128128

129129
/**
130130
* {@inheritDoc}
131+
*
132+
* @psalm-return array
131133
*/
132134
public function getCreateTableColumnCommentsSQL() : array
133135
{

tests/Doctrine/Tests/DBAL/Platforms/OraclePlatformTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ public function testGenerateTableWithAutoincrement() : void
365365

366366
/**
367367
* {@inheritDoc}
368+
*
369+
* @psalm-return array
368370
*/
369371
public function getCreateTableColumnCommentsSQL() : array
370372
{

tests/Doctrine/Tests/DBAL/Platforms/SQLAnywherePlatformTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ protected function getQuotedColumnInPrimaryKeySQL() : array
114114

115115
/**
116116
* {@inheritDoc}
117+
*
118+
* @psalm-return array
117119
*/
118120
public function getCreateTableColumnCommentsSQL() : array
119121
{

0 commit comments

Comments
 (0)