Skip to content

Commit

Permalink
add missing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
the-pulli committed Sep 28, 2023
1 parent 577e6f1 commit 08d8e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Macros/MapToCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class MapToCollection
{
public function __invoke(): Closure
{
return function (array $ary, $deep = false): Collection {
return function (array $ary, bool $deep = false): Collection {
$closure = function (&$ary) use ($deep) {
if (is_array($ary)) {
$ary = Collection::mapToCollection($ary, $deep);
Expand Down

0 comments on commit 08d8e10

Please sign in to comment.