Skip to content

Commit 9368c20

Browse files
committed
Accept any Throwable for sfTestFunctionalBase::handleException
1 parent 6c299c7 commit 9368c20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/test/sfTestFunctionalBase.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,9 @@ static public function handlePhpError($errno, $errstr, $errfile, $errline)
478478
/**
479479
* Exception handler for the current test browser instance.
480480
*
481-
* @param Exception $exception The exception
481+
* @param Throwable $exception The exception
482482
*/
483-
function handleException(Exception $exception)
483+
function handleException(Throwable $exception)
484484
{
485485
$this->test()->error(sprintf('%s: %s', get_class($exception), $exception->getMessage()));
486486

0 commit comments

Comments
 (0)