Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Validation/ValidationRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@ protected function replace_message_placeholders(string $message, array $placehol
{
$placeholders = array_merge(
[
'name' => $this->name,
// 'name' => $this->name, // We may want to include the name in the placeholders, but it's commented out for now.
'name' => '',
'args' => is_array($this->args)
? Arr::join(Arr::reject($this->args, fn ($arg) => !is_string($arg) && !is_numeric($arg)), ', ')
: (string) $this->args
Expand Down
Loading