Skip to content

Commit

Permalink
Generalize to Throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
mrook committed May 24, 2018
1 parent 8aea675 commit 182cea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/phing/Phing.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ protected static function statusExit($exitCode)
* Prints the message of the Exception if it's not null.
* @param Exception $t
*/
public static function printMessage(Exception $t)
public static function printMessage(Throwable $t)
{
if (self::$err === null) { // Make sure our error output is initialized
self::initializeOutputStreams();
Expand Down

0 comments on commit 182cea3

Please sign in to comment.