From 182cea366b6b8ccd86ffb5bd5c4ec8b6fddf15e0 Mon Sep 17 00:00:00 2001 From: Michiel Rook Date: Thu, 24 May 2018 17:01:13 +0200 Subject: [PATCH] Generalize to Throwable --- classes/phing/Phing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/phing/Phing.php b/classes/phing/Phing.php index a09c14c6a6..f59ec05dd4 100644 --- a/classes/phing/Phing.php +++ b/classes/phing/Phing.php @@ -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();