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-05-15 00:26:11 +0200
commited23cd200ae9f51af2d6a60058c81a1d7fa33097 (patch)
tree8c495be530b57c8c11965dea6647a0957a66c0eb
parent99b33773a9601da1a0722a9624bf7e544a123ca2 (diff)
downloadnextcloud-server-feat/cache-routes.tar.gz
nextcloud-server-feat/cache-routes.zip
fix: Fix psalm issue by adding missing parameter for profilerfeat/cache-routes
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) {