We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d6530 commit 1cc1393Copy full SHA for 1cc1393
src/Validator/Naming.php
@@ -99,7 +99,8 @@ public function isValid(mixed $value): bool
99
"''" => self::CONSECUTIVE_APOSTROPHE,
100
];
101
102
- $filter = static fn(mixed $datum, int|string|null $key): bool => is_string($key) && str_contains($value, $key);
+ $filter = static fn(mixed $datum, int|string|null $key): bool
103
+ => is_string($key) && str_contains($value, $key);
104
$error = Finder::first($messageTemplates, $filter);
105
106
if (is_string($error)) {
0 commit comments