Skip to content

Commit

Permalink
Improve deprecation warning for Request::here()
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 16, 2017
1 parent a296960 commit 34eacb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/ServerRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ public function addPaths(array $paths)
public function here($base = true)
{
deprecationWarning(
'This method will be removed in 4.0.0. You should use getRequestTarget() instead.'
'ServerRequest::here() will be removed in 4.0.0. You should use getRequestTarget() instead.'
);

$url = $this->here;
Expand Down

0 comments on commit 34eacb1

Please sign in to comment.