Skip to content

Commit

Permalink
Add date_equals validation message (#26584)
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir authored and taylorotwell committed Nov 21, 2018
1 parent 09c075b commit ef89ad7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Illuminate/Validation/Concerns/ReplacesAttributes.php
Expand Up @@ -434,6 +434,20 @@ protected function replaceAfterOrEqual($message, $attribute, $rule, $parameters)
return $this->replaceBefore($message, $attribute, $rule, $parameters);
}

/**
* Replace all place-holders for the date_equals rule.
*
* @param string $message
* @param string $attribute
* @param string $rule
* @param array $parameters
* @return string
*/
protected function replaceDateEquals($message, $attribute, $rule, $parameters)
{
return $this->replaceBefore($message, $attribute, $rule, $parameters);
}

/**
* Replace all place-holders for the dimensions rule.
*
Expand Down

0 comments on commit ef89ad7

Please sign in to comment.