Browse Source

Merge pull request #10928 from davidyell/patch-3

Give a guidance to fix deprecation
Mark Story 8 years ago
parent
commit
f36e1ee493
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Http/ServerRequest.php

+ 1 - 1
src/Http/ServerRequest.php

@@ -958,7 +958,7 @@ class ServerRequest implements ArrayAccess, ServerRequestInterface
      *
      * @param string $name Name of the header you want.
      * @return string|null Either null on no header being set or the value of the header.
-     * @deprecated 4.0.0 The automatic fallback to env() will be removed in 4.0.0
+     * @deprecated 4.0.0 The automatic fallback to env() will be removed in 4.0.0, see getHeader()
      */
     public function header($name)
     {