Skip to content

Commit c59d716

Browse files
authored
Update React.php PHPDocs
1 parent 39b5ee7 commit c59d716

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Discord/Drivers/React.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ public function __construct(LoopInterface $loop, array $options = [])
5454
$this->browser = $browser->withRejectErrorResponse(false);
5555
}
5656

57+
/**
58+
* Runs the request using the React HTTP client.
59+
*
60+
* @param Request $request The request to run.
61+
*
62+
* @return PromiseInterface
63+
*/
5764
public function runRequest($request): PromiseInterface
5865
{
5966
return $this->browser->{$request->getMethod()}(

0 commit comments

Comments
 (0)