This repository was archived by the owner on Jan 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,6 @@ final class Promise implements HttpPromise
44
44
*/
45
45
private $ request ;
46
46
47
- /**
48
- * @param PromiseInterface $promise
49
- * @param RequestInterface $request
50
- */
51
47
public function __construct (PromiseInterface $ promise , RequestInterface $ request )
52
48
{
53
49
$ this ->request = $ request ;
@@ -108,13 +104,8 @@ public function wait($unwrap = true)
108
104
109
105
/**
110
106
* Converts a Guzzle exception into an Httplug exception.
111
- *
112
- * @param GuzzleExceptions\GuzzleException $exception
113
- * @param RequestInterface $request
114
- *
115
- * @return HttplugException
116
107
*/
117
- private function handleException (GuzzleExceptions \GuzzleException $ exception , RequestInterface $ request )
108
+ private function handleException (GuzzleExceptions \GuzzleException $ exception , RequestInterface $ request ): HttplugException
118
109
{
119
110
if ($ exception instanceof GuzzleExceptions \SeekException) {
120
111
return new HttplugException \RequestException ($ exception ->getMessage (), $ request , $ exception );
You can’t perform that action at this time.
0 commit comments