original_string: public function actionIndex()
      {
          $query = Client::find()->where(['user_id' => Yii::$app->user->id])->orderBy(['created_at' => SORT_DESC]);
          $dataProvider = new ActiveDataProvider([
              'query' => $query,
          ]);
          return $this->render('index', [
              'dataProvider' => $dataProvider,
          ]);
      }
code: public function actionIndex()
      {
          $query = Client::find()->where(['user_id' => Yii::$app->user->id])->orderBy(['created_at' => SORT_DESC]);
          $dataProvider = new ActiveDataProvider([
              'query' => $query,
          ]);
          return $this->render('index', [
              'dataProvider' => $dataProvider,
          ]);
      }
code_tokens: public function actionIndex ( ) { $ query = Client :: find ( ) -> where ( [ 'user_id' => Yii :: $ app -> user -> id ] ) -> orderBy ( [ 'created_at' => SORT_DESC ] ) ; $ dataProvider = new ActiveDataProvider ( [ 'query' => $ query , ] ) ; return $ this -> render ( 'index' , [ 'dataProvider' => $ dataProvider , ] ) ; }
docstring: Lists all App models.
  @return mixed
docstring_tokens: Lists all App models .