original_string: public function active()
      {
          if(!\Yii::$app->user->isGuest && !\Yii::$app->user->identity->isAdmin)
          {
              $this->andWhere(['deleted_at' => NULL]);
          }
          return $this;
      }
code: public function active()
      {
          if(!\Yii::$app->user->isGuest && !\Yii::$app->user->identity->isAdmin)
          {
              $this->andWhere(['deleted_at' => NULL]);
          }
          return $this;
      }
code_tokens: public function active ( ) { if ( ! \ Yii :: $ app -> user -> isGuest && ! \ Yii :: $ app -> user -> identity -> isAdmin ) { $ this -> andWhere ( [ 'deleted_at' => NULL ] ) ; } return $ this ; }
docstring: only none delted records should be returned, deleted would mean they are not null anymore within field value
  @return [type] [description]
docstring_tokens: only none delted records should be returned deleted would mean they are not null anymore within field value