mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 20:19:42 +08:00
Fix types (#19332)
* Migration::upsert() returns void * Unneeded `@property` tags * Add missing `null` param/return types * Null types for db\Query + db\ActiveQuery * Fixed testSelect
This commit is contained in:
@ -21,7 +21,7 @@ abstract class QueryTest extends DatabaseTestCase
|
||||
$query = new Query();
|
||||
$query->select('*');
|
||||
$this->assertEquals(['*' => '*'], $query->select);
|
||||
$this->assertNull($query->distinct);
|
||||
$this->assertFalse($query->distinct);
|
||||
$this->assertNull($query->selectOption);
|
||||
|
||||
$query = new Query();
|
||||
|
||||
Reference in New Issue
Block a user