getProtocolVersion may return null

This commit is contained in:
Alessandro Lai 2021-05-05 09:40:41 +02:00 committed by GitHub
parent 21e9894c10
commit 99aadb31ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1497,7 +1497,7 @@ class Request
* if the proxy is trusted (see "setTrustedProxies()"), otherwise it returns * if the proxy is trusted (see "setTrustedProxies()"), otherwise it returns
* the latter (from the "SERVER_PROTOCOL" server parameter). * the latter (from the "SERVER_PROTOCOL" server parameter).
* *
* @return string * @return string|null
*/ */
public function getProtocolVersion() public function getProtocolVersion()
{ {