protected function comment($userId) { return new ActiveDataProvider(['query' => PostComment::find()->where(['user_id' => $userId, 'status' => 1])->orderBy(['created_at' => SORT_DESC])]); }