original_string: public function getDetailMessages()
      {
          $messages = array();
          foreach ($this->invalidRules as $field => $rules) {
              foreach ($rules as $rule) {
                  $messages[$field][$rule] = $this->ruleValidators[$field][$rule]->getMessages();
              }
          }
          return $messages;
      }
code: public function getDetailMessages()
      {
          $messages = array();
          foreach ($this->invalidRules as $field => $rules) {
              foreach ($rules as $rule) {
                  $messages[$field][$rule] = $this->ruleValidators[$field][$rule]->getMessages();
              }
          }
          return $messages;
      }
code_tokens: public function getDetailMessages ( ) { $ messages = array ( ) ; foreach ( $ this -> invalidRules as $ field => $ rules ) { foreach ( $ rules as $ rule ) { $ messages [ $ field ] [ $ rule ] = $ this -> ruleValidators [ $ field ] [ $ rule ] -> getMessages ( ) ; } } return $ messages ; }
docstring: Returns detail invalid messages
  
  @return array
docstring_tokens: Returns detail invalid messages