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
if ($fileLinkFormat && !is_array($fileLinkFormat)) {
@@ -36,10 +39,17 @@ public function __construct($fileLinkFormat = null, RequestStack $requestStack =
36
39
}
37
40
38
41
$this->fileLinkFormat = $fileLinkFormat;
39
-
$this->requestStack = $requestStack;
40
-
$this->router = $router;
41
42
$this->baseDir = $baseDir;
42
43
$this->queryString = $queryString;
44
+
45
+
if ($urlGeneratorinstanceof RequestStack) {
46
+
@trigger_error(sprintf('Passing a RequestStack to %s() as a second argument is deprecated since version 3.4 and will be unsupported in 4.0. Pass a UrlGeneratorInterface instead.', __METHOD__), E_USER_DEPRECATED);
0 commit comments