Merge branch '6.4' into 7.3

* 6.4:
  Remove calls to no-op functions, deprecated in PHP 8.5
  Remove deprecated calls to deprecated methods of SplObjectStorage
  [Messenger] Show package installation hint also for amqps
This commit is contained in:
Nicolas Grekas
2025-08-13 13:49:31 +02:00

View File

@@ -40,7 +40,7 @@ class RouterDataCollector extends DataCollector
$this->data['redirect'] = true;
$this->data['url'] = $response->getTargetUrl();
if ($this->controllers->contains($request)) {
if ($this->controllers->offsetExists($request)) {
$this->data['route'] = $this->guessRoute($request, $this->controllers[$request]);
}
}