chore: fixes test suite

This commit is contained in:
Nuno Maduro
2024-04-28 12:02:42 +01:00
parent a2cb78710d
commit 2070538fd3
7 changed files with 14 additions and 54 deletions

View File

@ -69,7 +69,7 @@ final class BeforeEachCall
};
$beforeEachTestCase = ChainableClosure::boundWhen(
fn (): bool => is_null($describing) || $this->__describing === $describing, // @phpstan-ignore-line
fn (): bool => is_null($describing) || $this->__describing === $describing,
ChainableClosure::bound(fn () => $testCaseProxies->chain($this), $this->closure)->bindTo($this, self::class), // @phpstan-ignore-line
)->bindTo($this, self::class);