[HttpClient][PHPDoc] Fix 2 remaining return mixed
This commit is contained in:
parent
7ce1dda109
commit
97a43e1dab
@ -49,10 +49,8 @@ final class HttplugPromise implements HttplugPromiseInterface
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @return Psr7ResponseInterface|mixed
|
||||
*/
|
||||
public function wait($unwrap = true)
|
||||
public function wait($unwrap = true): ?Psr7ResponseInterface
|
||||
{
|
||||
$result = $this->promise->wait($unwrap);
|
||||
|
||||
|
@ -104,7 +104,7 @@ interface ResponseInterface
|
||||
*
|
||||
* Other info SHOULD be named after curl_getinfo()'s associative return value.
|
||||
*
|
||||
* @return array|mixed An array of all available info, or one of them when $type is
|
||||
* @return mixed An array of all available info, or one of them when $type is
|
||||
* provided, or null when an unsupported type is requested
|
||||
*/
|
||||
public function getInfo(string $type = null);
|
||||
|
Reference in New Issue
Block a user