public function testFindEmptyInCondition() { parent::testFindEmptyInCondition(); $products = Product::find()->where(['(!int!)' => [123]])->all(); $this->assertEquals(1, count($products)); $products = Product::find()->where(['(!int!)' => []])->all(); $this->assertEquals(0, count($products)); $products = Product::find()->where(['IN', '(!int!)', [123]])->all(); $this->assertEquals(1, count($products)); $products = Product::find()->where(['IN', '(!int!)', []])->all(); $this->assertEquals(0, count($products)); }