diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2025-05-15 00:26:11 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2025-06-05 17:58:54 +0200 |
commit | 0d78c6075948ce4a46adffcd97f742848e9e8a57 (patch) | |
tree | 864a605e691f37a6f98461fedd3e8ce871105aa2 | |
parent | 446b22ac3c2036d65a4ee76ddeb8d9b748619db3 (diff) | |
download | nextcloud-server-0d78c6075948ce4a46adffcd97f742848e9e8a57.tar.gz nextcloud-server-0d78c6075948ce4a46adffcd97f742848e9e8a57.zip |
fix: Fix psalm issue by adding missing parameter for profiler
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | lib/private/Route/CachingRouter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Route/CachingRouter.php b/lib/private/Route/CachingRouter.php index edfbdc99c3a..dbd5ef02603 100644 --- a/lib/private/Route/CachingRouter.php +++ b/lib/private/Route/CachingRouter.php @@ -74,7 +74,7 @@ class CachingRouter extends Router { * @return array */ public function findMatchingRoute(string $url): array { - $this->eventLogger->start('cacheroute:match'); + $this->eventLogger->start('cacheroute:match', 'Match route'); $key = $this->context->getHost() . '#' . $this->context->getBaseUrl() . '#rootCollection'; $cachedRoutes = $this->cache->get($key); if (!$cachedRoutes) { @@ -83,7 +83,7 @@ class CachingRouter extends Router { $this->cache->set($key, $cachedRoutes, 3600); } $matcher = new CompiledUrlMatcher($cachedRoutes, $this->context); - $this->eventLogger->start('cacheroute:url:match'); + $this->eventLogger->start('cacheroute:url:match', 'Symfony URL match call'); try { $parameters = $matcher->match($url); } catch (ResourceNotFoundException $e) { |