Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit addfa6f

Browse files
committed
minors
1 parent ff584eb commit addfa6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static function create(
4343
/**
4444
* {@inheritdoc}
4545
*/
46-
public function then(callable $onFulfilled = null, callable $onRejected = null)
46+
public function then(callable $onFulfilled = null, callable $onRejected = null): Promise
4747
{
4848
if ($onFulfilled) {
4949
$this->core->addOnFulfilled($onFulfilled);
@@ -58,7 +58,7 @@ public function then(callable $onFulfilled = null, callable $onRejected = null)
5858
/**
5959
* {@inheritdoc}
6060
*/
61-
public function getState()
61+
public function getState(): string
6262
{
6363
$this->core->getState();
6464
}

src/Symfony/Component/HttpClient/HttplugClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
*
5656
* @author Nicolas Grekas <[email protected]>
5757
*/
58-
final class HttplugClient implements HttpClient, RequestFactory, StreamFactory, UriFactory, HttpAsyncClient
58+
final class HttplugClient implements HttpClient, HttpAsyncClient, RequestFactory, StreamFactory, UriFactory
5959
{
6060
private $client;
6161
private $responseFactory;

0 commit comments

Comments
 (0)