Skip to content

Commit 944acaf

Browse files
Merge branch '6.4' into 7.0
* 6.4: Fix CI Bump ext-redis in CI on PHP >= 8.4 Adjust pretty name of closures on PHP 8.4 implement NodeVisitorInterface instead of extending AbstractNodeVisitor sync .github/expected-missing-return-types.diff skip test assertions that are no longer valid with PHP >= 8.2.18/8.3.5
2 parents 834c28d + e08570d commit 944acaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Debug/WrappedListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(callable|array $listener, ?string $name, Stopwatch $
4848
$this->callableRef .= '::'.$listener[1];
4949
} elseif ($listener instanceof \Closure) {
5050
$r = new \ReflectionFunction($listener);
51-
if (str_contains($r->name, '{closure}')) {
51+
if (str_contains($r->name, '{closure')) {
5252
$this->pretty = $this->name = 'closure';
5353
} elseif ($class = $r->getClosureCalledClass()) {
5454
$this->name = $class->name;

0 commit comments

Comments
 (0)