mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 13:38:41 +00:00
Fix interface compliance
This commit is contained in:
parent
d3732ed8d7
commit
0d6c0b2fc8
|
|
@ -281,7 +281,7 @@ class Http implements UriInterface
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function getQuery(string $key = null) /* : ?string */
|
public function getQuery(string $key = null) : string
|
||||||
{
|
{
|
||||||
if(isset($key)) {
|
if(isset($key)) {
|
||||||
$key = strtolower($key);
|
$key = strtolower($key);
|
||||||
|
|
|
||||||
|
|
@ -117,11 +117,11 @@ interface UriInterface
|
||||||
*
|
*
|
||||||
* @param string $key Query key
|
* @param string $key Query key
|
||||||
*
|
*
|
||||||
* @return string|array
|
* @return string
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function getQuery(string $key = null);
|
public function getQuery(string $key = null) : string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get fragment.
|
* Get fragment.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user