| Total Complexity | 2 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 3 |
| 1 | <?php |
||
| 15 | class The extends SurveyEnvelope implements Block |
||
| 16 | { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Subject for a context. |
||
| 20 | * |
||
| 21 | * @var mixed |
||
| 22 | */ |
||
| 23 | private mixed $subject; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Ctor. |
||
| 27 | * |
||
| 28 | * @phpstan-param T $subject repeating element |
||
| 29 | * @phpstan-param Closure(T): mixed $context context for element |
||
| 30 | * @param mixed $subject |
||
| 31 | * @param Closure $context |
||
| 32 | */ |
||
| 33 | public function __construct(mixed $subject, Closure $context) |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritDoc} |
||
| 49 | */ |
||
| 50 | public function act(Closure $context): mixed |
||
| 56 |