mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	Add void return to method in tests. (#20602)
This commit is contained in:
		@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user