From 2098416be54aef2669e568ffc59912ccfa263005 Mon Sep 17 00:00:00 2001 From: "Md. Ashraful" Date: Wed, 23 Sep 2026 15:06:19 +0600 Subject: [PATCH] Comment out name placeholder in ValidationRule for future consideration --- src/Validation/ValidationRule.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Validation/ValidationRule.php b/src/Validation/ValidationRule.php index 2df2112..d5bccc2 100644 --- a/src/Validation/ValidationRule.php +++ b/src/Validation/ValidationRule.php @@ -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