| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | interface OAuth2RequestInterface extends RequestInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Returns grant parameters |
||
| 13 | * |
||
| 14 | * @return array<string, mixed> |
||
|
|
|||
| 15 | */ |
||
| 16 | public function getGrantParams(): array; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Set grant parameters |
||
| 20 | * |
||
| 21 | * @param array<string, mixed> $grantParams |
||
| 22 | * |
||
| 23 | * @return self |
||
| 24 | */ |
||
| 25 | public function withGrantParams(array $grantParams): self; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Set a grant parameter |
||
| 29 | * |
||
| 30 | * @param string $name |
||
| 31 | * @param mixed $value |
||
| 32 | * |
||
| 33 | * @return self |
||
| 34 | */ |
||
| 35 | public function withGrantParam(string $name, $value): self; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Remove a single grant parameter |
||
| 39 | * |
||
| 40 | * @param string $name |
||
| 41 | * |
||
| 42 | * @return self |
||
| 43 | */ |
||
| 44 | public function withoutGrantParam(string $name): self; |
||
| 45 | } |
||
| 46 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.