Skip to content

Commit

Permalink
TestCase#expectException() requires a class-string<\Throwable>
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius authored and sebastianbergmann committed Jun 6, 2019
1 parent e253cea commit bc09c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Framework/TestCase.php
Expand Up @@ -598,7 +598,7 @@ public function getExpectedExceptionMessageRegExp(): ?string
}

/**
* @psalm-param class-string<|Throwable> $exception
* @psalm-param class-string<\Throwable> $exception
*/
public function expectException(string $exception): void
{
Expand Down

0 comments on commit bc09c04

Please sign in to comment.