Skip to content

Commit 1953391

Browse files
Merge branch '6.4' into 7.0
* 6.4: More short closures + isset instead of null checks + etc.
2 parents c4d80a3 + d76d263 commit 1953391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Debug/WrappedListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function testStopwatchEventIsStoppedWhenListenerThrows()
5656

5757
$dispatcher = $this->createStub(EventDispatcherInterface::class);
5858

59-
$wrappedListener = new WrappedListener(function () { throw new \Exception(); }, null, $stopwatch, $dispatcher);
59+
$wrappedListener = new WrappedListener(static fn () => throw new \Exception(), null, $stopwatch, $dispatcher);
6060

6161
try {
6262
$wrappedListener(new \stdClass(), 'foo', $dispatcher);

0 commit comments

Comments
 (0)