8000 [HttpClient][PHPDoc] Fix 2 remaining return mixed · symfony/symfony@b010961 · GitHub
[go: up one dir, main page]

Skip to content

Commit b010961

Browse files
committed
[HttpClient][PHPDoc] Fix 2 remaining return mixed
1 parent 7ce1dda commit b010961

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Symfony/Component/HttpClient/Response/HttplugPromise.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getState(): string
5050
/**
5151
* {@inheritdoc}
5252
*
53-
* @return Psr7ResponseInterface|mixed
53+
* @return Psr7ResponseInterface
5454
*/
5555
public function wait($unwrap = true)
5656
{

src/Symfony/Contracts/HttpClient/ResponseInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ public function cancel(): void;
104104
*
105105
* Other info SHOULD be named after curl_getinfo()'s associative return value.
106106
*
107-
* @return array|mixed An array of all available info, or one of them when $type is
108-
* provided, or null when an unsupported type is requested
107+
* @return mixed An array of all available info, or one of them when $type is
108+
* provided, or null when an unsupported type is requested
109109
*/
110110
public function getInfo(string $type = null);
111111
}

0 commit comments

Comments
 (0)
0