Skip to content

Commit 675372c

Browse files
committed
chore: fixes types
1 parent c18636b commit 675372c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PendingCalls/AfterEachCall.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __destruct()
5656

5757
$afterEachTestCase = ChainableClosure::boundWhen(
5858
fn (): bool => $describing === [] || in_array(Arr::last($describing), $this->__describing, true),
59-
ChainableClosure::bound(fn () => $proxies->chain($this), $this->closure)->bindTo($this, self::class), // @phpstan-ignore-line
59+
ChainableClosure::bound(fn () => $proxies->chain($this), $this->closure)->bindTo($this, self::class),
6060
)->bindTo($this, self::class);
6161

6262
assert($afterEachTestCase instanceof Closure);

src/PendingCalls/BeforeEachCall.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function __destruct()
7979

8080
$beforeEachTestCase = ChainableClosure::boundWhen(
8181
fn (): bool => $describing === [] || in_array(Arr::last($describing), $this->__describing, true),
82-
ChainableClosure::bound(fn () => $testCaseProxies->chain($this), $this->closure)->bindTo($this, self::class), // @phpstan-ignore-line
82+
ChainableClosure::bound(fn () => $testCaseProxies->chain($this), $this->closure)->bindTo($this, self::class),
8383
)->bindTo($this, self::class);
8484

8585
assert($beforeEachTestCase instanceof Closure);

0 commit comments

Comments
 (0)