Add void return to method in tests. (#20602)

This commit is contained in:
Wilmer Arambula
2025-10-14 06:37:35 -03:00
committed by GitHub
parent 30824c5dcf
commit d71f7309ae
249 changed files with 2749 additions and 2538 deletions

View File

@ -22,7 +22,7 @@ class QueryTest extends \yiiunit\framework\db\QueryTest
/**
* Tests MySQL specific syntax for index hints.
*/
public function testQueryIndexHint()
public function testQueryIndexHint(): void
{
$db = $this->getConnection();
@ -33,7 +33,7 @@ class QueryTest extends \yiiunit\framework\db\QueryTest
$this->assertArrayHasKey('email', $row);
}
public function testLimitOffsetWithExpression()
public function testLimitOffsetWithExpression(): void
{
$query = (new Query())->from('customer')->select('id')->orderBy('id');
// In MySQL limit and offset arguments must both be nonnegative integer constant