Pull out getProtocolVersion

This commit is contained in:
Dennis Eichhorn 2017-09-05 11:49:53 +02:00 committed by GitHub
parent 59ef2d27e1
commit 40d52330f8

View File

@ -400,14 +400,6 @@ class Request extends RequestAbstract
return $lastElement;
}
/**
* {@inheritdoc}
*/
public function getProtocolVersion() : string
{
return $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.1';
}
/**
* {@inheritdoc}
*/