original_string: protected function validateEditReview()
      {
          $this->setSubmitted('review');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_review);
  
          $this->validateComponent('review');
  
          return !$this->hasErrors();
      }
code: protected function validateEditReview()
      {
          $this->setSubmitted('review');
          $this->setSubmittedBool('status');
          $this->setSubmitted('update', $this->data_review);
  
          $this->validateComponent('review');
  
          return !$this->hasErrors();
      }
code_tokens: protected function validateEditReview ( ) { $ this -> setSubmitted ( 'review' ) ; $ this -> setSubmittedBool ( 'status' ) ; $ this -> setSubmitted ( 'update' , $ this -> data_review ) ; $ this -> validateComponent ( 'review' ) ; return ! $ this -> hasErrors ( ) ; }
docstring: Validates a submitted review
  @return bool
docstring_tokens: Validates a submitted review