Skip to content

Commit

Permalink
Add phpdoc hints for Request class (#30975)
Browse files Browse the repository at this point in the history
  • Loading branch information
jochemgruter authored and taylorotwell committed Dec 29, 2019
1 parent befe49c commit 66eb5d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Illuminate/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
use Symfony\Component\HttpFoundation\ParameterBag;
use Symfony\Component\HttpFoundation\Request as SymfonyRequest;

/**
* @method array validate(array $rules, ...$params)
* @method array validateWithBag(array $rules, ...$params)
* @method string hasValidSignature(\Illuminate\Http\Request $request, bool $absolute = true)
*/
class Request extends SymfonyRequest implements Arrayable, ArrayAccess
{
use Concerns\InteractsWithContentTypes,
Expand Down

0 comments on commit 66eb5d0

Please sign in to comment.