Skip to content

Commit 3531245

Browse files
kenjisMGatner
andauthored
fix: exception message
Co-authored-by: MGatner <[email protected]>
1 parent c107070 commit 3531245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Helpers/Array/ArrayHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public static function dotKeyExists(string $index, array $array): bool
130130
{
131131
if (str_ends_with($index, '*') || str_contains($index, '*.*')) {
132132
throw new InvalidArgumentException(
133-
'You must set key right after "*". Invalid index: "' . $index . '"'
133+
'You must set a key right after "*". Invalid index: "' . $index . '"'
134134
);
135135
}
136136

0 commit comments

Comments
 (0)