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;
    }
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;
    }
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 ; }
Get the proper inline error message for standard and size rules.

@param  string  $attribute
@param  string  $rule
@return string|null
Get the proper inline error message for standard and size rules .