Skip to content

Commit

Permalink
fix exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
yupmin committed May 31, 2019
1 parent bd64bc6 commit b1caa26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/stubs/phystrix-command.stub
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class DummyClass extends AbstractCommand
}

/**
* @param Exception $exception
* @param Exception|null $exception
* @return mixed
*/
public function getFallback(Exception $exception)
public function getFallback(Exception $exception = null)
{
return $exception->getMessage();
}
Expand Down

0 comments on commit b1caa26

Please sign in to comment.