Lines
0.00%
0 / 1
Functions and Methods
0.00%
0 / 1
Classes and Traits
0.00%
0 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ListOf | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | 0.00% | 0 / 1 | |||
| __construct | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Contracts\Wire; | |
| 6 | ||
| 7 | use Attribute; | |
| 8 | ||
| 9 | /** @internal */ | |
| 10 | #[Attribute(Attribute::TARGET_PARAMETER)] | |
| 11 | final readonly class ListOf | |
| 12 | { | |
| 13 | /** @param 'string'|'int'|'float'|'bool'|class-string $type */ | |
| 14 | public function __construct(public string $type) {} | |
| 15 | } |