Skip to content

Commit

Permalink
revert #52510 which added a unneeded function call (#52526)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigopedra committed Aug 20, 2024
1 parent 81a0b5b commit 369b585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ function transform($value, callable $callback, $default = null)
return $default($value);
}

return value($default);
return $default;
}
}

Expand Down

0 comments on commit 369b585

Please sign in to comment.