Skip to content

Commit

Permalink
add default
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 6, 2017
1 parent 74ecb34 commit c4d1c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ function request($key = null, $default = null)
* @param mixed $rescue
* @return mixed
*/
function rescue(callable $callback, $rescue)
function rescue(callable $callback, $rescue = null)
{
try {
return $callback();
Expand Down

0 comments on commit c4d1c47

Please sign in to comment.