Skip to content

Commit

Permalink
fix: exception message
Browse files Browse the repository at this point in the history
Co-authored-by: MGatner <[email protected]>
  • Loading branch information
kenjis and MGatner authored Nov 5, 2023
1 parent c107070 commit 3531245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Helpers/Array/ArrayHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static function dotKeyExists(string $index, array $array): bool
{
if (str_ends_with($index, '*') || str_contains($index, '*.*')) {
throw new InvalidArgumentException(
'You must set key right after "*". Invalid index: "' . $index . '"'
'You must set a key right after "*". Invalid index: "' . $index . '"'
);
}

Expand Down

0 comments on commit 3531245

Please sign in to comment.