File tree 2 files changed +3
-5
lines changed
Component/HttpClient/Response
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,8 @@ public function getState(): string
49
49
50
50
/**
51
51
* {@inheritdoc}
52
- *
53
- * @return Psr7ResponseInterface|mixed
54
52
*/
55
- public function wait ($ unwrap = true )
53
+ public function wait ($ unwrap = true ): ? Psr7ResponseInterface
56
54
{
57
55
$ result = $ this ->promise ->wait ($ unwrap );
58
56
Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ public function cancel(): void;
104
104
*
105
105
* Other info SHOULD be named after curl_getinfo()'s associative return value.
106
106
*
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
109
109
*/
110
110
public function getInfo (string $ type = null );
111
111
}
You can’t perform that action at this time.
0 commit comments