chore: phpstan level 5

This commit is contained in:
Nuno Maduro
2021-11-14 21:39:24 +00:00
parent 183f975166
commit b2cd60395f
11 changed files with 24 additions and 49 deletions

View File

@ -69,9 +69,8 @@ final class OppositeExpectation
public function __get(string $name): Expectation
{
try {
/** @throws ExpectationFailedException */
$this->original->{$name}; // @phpstan-ignore-line
} catch (ExpectationFailedException) {
} catch (ExpectationFailedException) { // @phpstan-ignore-line
return $this->original;
}