original_string: protected function getInlineMessage($attribute, $rule)
      {
          $inlineEntry = $this->getFromLocalArray($attribute, Str::snake($rule));
  
          return is_array($inlineEntry) && in_array($rule, $this->sizeRules)
                      ? $inlineEntry[$this->getAttributeType($attribute)]
                      : $inlineEntry;
      }
code: protected function getInlineMessage($attribute, $rule)
      {
          $inlineEntry = $this->getFromLocalArray($attribute, Str::snake($rule));
  
          return is_array($inlineEntry) && in_array($rule, $this->sizeRules)
                      ? $inlineEntry[$this->getAttributeType($attribute)]
                      : $inlineEntry;
      }
code_tokens: protected function getInlineMessage ( $ attribute , $ rule ) { $ inlineEntry = $ this -> getFromLocalArray ( $ attribute , Str :: snake ( $ rule ) ) ; return is_array ( $ inlineEntry ) && in_array ( $ rule , $ this -> sizeRules ) ? $ inlineEntry [ $ this -> getAttributeType ( $ attribute ) ] : $ inlineEntry ; }
docstring: Get the proper inline error message for standard and size rules.
  
  @param  string  $attribute
  @param  string  $rule
  @return string|null
docstring_tokens: Get the proper inline error message for standard and size rules .