Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
AnourValar committed Sep 25, 2024
1 parent 6b95d9f commit 42c7364
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ValidatorHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ public function isMatching(string $key, array $path): bool
return false;
}

if (is_integer($partPath)) {
$partPath = (string) $partPath;
}

if ($partPath !== $partKey && $partKey !== '*') {
return false;
}
Expand Down

0 comments on commit 42c7364

Please sign in to comment.