Skip to content

Commit 3e5bd46

Browse files
committed
Update the docblocks for the types of requests we accept
1 parent 1012cdb commit 3e5bd46

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/Requests/Payload.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,20 @@
88
class Payload
99
{
1010
/**
11-
* The request.
11+
* A request object. Currently both \GuzzleHttp\Psr7\Request and
12+
* \Illuminate\Http\Request are supported.
1213
*
13-
* @var \GuzzleHttp\Psr7\Request
14+
* @var mixed
1415
*/
1516
private $request;
1617

1718
/**
1819
* Set's the local request to extract a payload from.
1920
*
20-
* @param \GuzzleHttp\Psr7\Request $request
21-
* The request to extract a payload from.
21+
* @param mixed $request
22+
* The request to extract a payload from. Currently both
23+
* \GuzzleHttp\Psr7\Request and \Illuminate\Http\Request are
24+
* supported.
2225
*/
2326
public function __construct($request)
2427
{

0 commit comments

Comments
 (0)