Skip to content

Commit

Permalink
chore: fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Aug 25, 2024
1 parent 0ee4911 commit 8fb270a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,12 @@ public static function validate(array $data, array $rules)
public static function getDotNotatedValue($array, $key)
{
$keys = explode('.', $key);

foreach ($keys as $k) {
if (!isset($array[$k])) {
return null;
}

$array = $array[$k];
}

Expand Down

0 comments on commit 8fb270a

Please sign in to comment.