| 1 | <?php |
||
| 9 | final class ResourceState |
||
| 10 | { |
||
| 11 | /** @var AbstractUri|string */ |
||
| 12 | public $uri; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | public $code; |
||
| 16 | |||
| 17 | /** @var array<string, string> */ |
||
| 18 | public $headers; |
||
| 19 | |||
| 20 | /** @var mixed */ |
||
| 21 | public $body; |
||
| 22 | |||
| 23 | /** @var ?string */ |
||
| 24 | public $view; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param AbstractUri|string $uri |
||
| 28 | * @param array<string, mixed> $headers |
||
| 29 | * @param mixed $body |
||
| 30 | * @param ?string $view |
||
|
|
|||
| 31 | */ |
||
| 32 | public function __construct($uri, string $code, array $headers, $body, ?string $view) |
||
| 40 | } |
||
| 41 |
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.