You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RequestContext in routing can change at runtime after the
UrlHelper has been created, so using a RequestContextAwareInterface
instance (i.e. the router) will workaround URL generation issues.
thrownew \TypeError(__METHOD__.': Argument #2 ($requestContext) must of type Symfony\Component\Routing\RequestContextAwareInterface|Symfony\Component\Routing\RequestContext|null, '.get_debug_type($requestContext).' given.');
34
+
}
35
+
28
36
$this->requestStack = $requestStack;
29
37
$this->requestContext = $requestContext;
30
38
}
@@ -73,28 +81,36 @@ public function getRelativePath(string $path): string
0 commit comments