aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-05-15 00:26:11 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2025-06-05 17:58:54 +0200
commit0d78c6075948ce4a46adffcd97f742848e9e8a57 (patch)
tree864a605e691f37a6f98461fedd3e8ce871105aa2
parent446b22ac3c2036d65a4ee76ddeb8d9b748619db3 (diff)
downloadnextcloud-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.php4
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) {