Skip to content

Commit 369b585

Browse files
authored
revert #52510 which added a unneeded function call (#52526)
1 parent 81a0b5b commit 369b585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/helpers.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ function transform($value, callable $callback, $default = null)
475475
return $default($value);
476476
}
477477

478-
return value($default);
478+
return $default;
479479
}
480480
}
481481

0 commit comments

Comments
 (0)