src/Support/DelegatedValidator.php
public function makeReplacements($message, $attribute, $rule, $parameters)
    {
        if (is_object($rule)) {
            $rule = get_class($rule);
        }
        
        return $this->callValidator('makeReplacements', [$message, $attribute, $rule, $parameters]);
    }
public function makeReplacements($message, $attribute, $rule, $parameters)
    {
        if (is_object($rule)) {
            $rule = get_class($rule);
        }
        
        return $this->callValidator('makeReplacements', [$message, $attribute, $rule, $parameters]);
    }
Replace all error message place-holders with actual values.

@param string $message
@param string $attribute
@param string $rule
@param array $parameters
@return string