X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FPath%2FCurrentPathStack.php;h=51b97cd71e1b59db25dd2650dcb66e88a3fe10bc;hb=refs%2Fheads%2Fd864;hp=cb7878650fcdbd96713ee471c85d48269faba90d;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Path/CurrentPathStack.php b/web/core/lib/Drupal/Core/Path/CurrentPathStack.php index cb7878650..51b97cd71 100644 --- a/web/core/lib/Drupal/Core/Path/CurrentPathStack.php +++ b/web/core/lib/Drupal/Core/Path/CurrentPathStack.php @@ -1,6 +1,8 @@ requestStack->getCurrentRequest(); } @@ -67,7 +69,7 @@ class CurrentPathStack { * * @return $this */ - public function setPath($path, $request = NULL) { + public function setPath($path, Request $request = NULL) { if (!isset($request)) { $request = $this->requestStack->getCurrentRequest(); }