From a2d5a5ab9d45d02d9d5b5542474b2441efcf846f Mon Sep 17 00:00:00 2001 From: ADmad Date: Mon, 23 Apr 2018 01:27:19 +0530 Subject: [PATCH] Fix deprecation message for request->here usage. Closes #11977. --- src/Http/ServerRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/ServerRequest.php b/src/Http/ServerRequest.php index cab76391b47..8401b35d3be 100644 --- a/src/Http/ServerRequest.php +++ b/src/Http/ServerRequest.php @@ -233,7 +233,7 @@ class ServerRequest implements ArrayAccess, ServerRequestInterface 'url' => ['get' => 'getPath()', 'set' => 'withRequestTarget()'], 'base' => ['get' => 'getAttribute("base")', 'set' => 'withAttribute("base")'], 'webroot' => ['get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")'], - 'here' => ['get' => 'getRequestTarget()', 'set' => 'withRequestTarget()'], + 'here' => ['get' => 'getAttribute("here")', 'set' => 'withAttribute("here")'], ]; /**