Skip to content

Commit c4d1c47

Browse files
committed
add default
1 parent 74ecb34 commit c4d1c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ function request($key = null, $default = null)
709709
* @param mixed $rescue
710710
* @return mixed
711711
*/
712-
function rescue(callable $callback, $rescue)
712+
function rescue(callable $callback, $rescue = null)
713713
{
714714
try {
715715
return $callback();

0 commit comments

Comments
 (0)