chore: fixes tests

This commit is contained in:
Nuno Maduro
2021-11-27 19:41:50 +00:00
parent 52314a4928
commit 7a0e841a0d
2 changed files with 3 additions and 2 deletions

View File

@ -131,6 +131,7 @@ final class HigherOrderExpectation
*/
private function getValue(): mixed
{
// @phpstan-ignore-next-line
return $this->shouldReset ? $this->original->value : $this->expectation->value;
}