Skip to content

Commit d77a209

Browse files
Remove deprecated calls to deprecated methods of SplObjectStorage
1 parent 4ed8624 commit d77a209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/RouterDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function collect(Request $request, Response $response, ?\Throwable $excep
4040
$this->data['redirect'] = true;
4141
$this->data['url'] = $response->getTargetUrl();
4242

43-
if ($this->controllers->contains($request)) {
43+
if ($this->controllers->offsetExists($request)) {
4444
$this->data['route'] = $this->guessRoute($request, $this->controllers[$request]);
4545
}
4646
}

0 commit comments

Comments
 (0)