Skip to content

Commit

Permalink
v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vanodevium committed Jan 11, 2025
1 parent 0a46ffa commit 64febdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TomlDecoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected static function toArray(mixed $object): mixed
}

if (is_array($object) || is_object($object)) {
return array_map(static fn($value) => self::toArray($value), (array) $object);
return array_map(static fn ($value) => self::toArray($value), (array) $object);
}

return $object;
Expand Down

0 comments on commit 64febdf

Please sign in to comment.