mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 09:17:23 +01:00
chore: phpstan level 5
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user