We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be6f231 commit a2f44cdCopy full SHA for a2f44cd
src/Framework/TestCase.php
@@ -1083,7 +1083,7 @@ final protected function expectExceptionMessageMatches(string $regularExpression
1083
* Information for expected exception class, expected exception message, and
1084
* expected exception code are retrieved from a given Exception object.
1085
*/
1086
- final protected function expectExceptionObject(\Exception $exception): void
+ final protected function expectExceptionObject(\Throwable $exception): void
1087
{
1088
$this->expectException($exception::class);
1089
$this->expectExceptionMessage($exception->getMessage());
0 commit comments