$query, ]); if (!($this->load($params) && $this->validate())) { return $dataProvider; } $query->andFilterWhere([ 'user_id' => $this->user_id, ]); $query->andFilterWhere([LikeQueryManager::getActionName(), 'client_id', $this->client_id]) ->andFilterWhere([LikeQueryManager::getActionName(), 'client_secret', $this->client_secret]) ->andFilterWhere([LikeQueryManager::getActionName(), 'redirect_uri', $this->redirect_uri]) ->andFilterWhere([LikeQueryManager::getActionName(), 'grant_types', $this->grant_types]) ->andFilterWhere([LikeQueryManager::getActionName(), 'scope', $this->scope]); return $dataProvider; } }