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