original_string: protected function validateItem($key, $value): bool
      {
          // run validators chain
          $result = $this->validators[$key]->validate($value);
  
          if (!$result) {
              $this->exception->setError($key, $this->validators[$key]->getError());
          }
  
          return $result;
      }
code: protected function validateItem($key, $value): bool
      {
          // run validators chain
          $result = $this->validators[$key]->validate($value);
  
          if (!$result) {
              $this->exception->setError($key, $this->validators[$key]->getError());
          }
  
          return $result;
      }
code_tokens: protected function validateItem ( $ key , $ value ) : bool { // run validators chain $ result = $ this -> validators [ $ key ] -> validate ( $ value ) ; if ( ! $ result ) { $ this -> exception -> setError ( $ key , $ this -> validators [ $ key ] -> getError ( ) ) ; } return $ result ; }
docstring: Validate chain of rules for single item
  
  @param  string $key
  @param  mixed  $value
  
  @return bool
docstring_tokens: Validate chain of rules for single item