Skip to content

Commit 11a09f4

Browse files
committed
fix buildMessage args
1 parent 4d0b147 commit 11a09f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Validator.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public function getErrorMessage(string $attribute, string|RuleContract $rule): a
4040
$message,
4141
$attribute,
4242
get_class($rule),
43+
[]
4344
);
4445
}
4546

@@ -65,7 +66,7 @@ public function getErrorMessage(string $attribute, string|RuleContract $rule): a
6566
* @param array $parameters
6667
* @return string
6768
*/
68-
protected function buildMessage(string $message, string $attribute, string $rule, array $parameters = []): string
69+
protected function buildMessage(string $message, string $attribute, string $rule, array $parameters): string
6970
{
7071
$result = $this->makeReplacements(...func_get_args());
7172

0 commit comments

Comments
 (0)