original_string: public function approvedWithPending(): ActiveQuery
      {
          return $this->andWhere([$this->statusAttribute => [Status::APPROVED, Status::PENDING]]);
      }
code: public function approvedWithPending(): ActiveQuery
      {
          return $this->andWhere([$this->statusAttribute => [Status::APPROVED, Status::PENDING]]);
      }
code_tokens: public function approvedWithPending ( ) : ActiveQuery { return $ this -> andWhere ( [ $ this -> statusAttribute => [ Status :: APPROVED , Status :: PENDING ] ] ) ; }
docstring: Get a new active query object that includes approved and pending resources.
  
  @return ActiveQuery
docstring_tokens: Get a new active query object that includes approved and pending resources .