mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +00:00
Pull out getProtocolVersion
This commit is contained in:
parent
59ef2d27e1
commit
40d52330f8
|
|
@ -400,14 +400,6 @@ class Request extends RequestAbstract
|
||||||
return $lastElement;
|
return $lastElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* {@inheritdoc}
|
|
||||||
*/
|
|
||||||
public function getProtocolVersion() : string
|
|
||||||
{
|
|
||||||
return $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.1';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user