| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | class Let extends SurveyEnvelope implements Block |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Subject for context. |
||
| 21 | * |
||
| 22 | * @var mixed |
||
| 23 | */ |
||
| 24 | private mixed $subject; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Ctor. |
||
| 28 | * |
||
| 29 | * @phpstan-param X $subject repeated element |
||
| 30 | * @phpstan-param Closure(X): Y $context context for element |
||
| 31 | * @param mixed $subject element to be put into context |
||
| 32 | * @param Closure $context context for element |
||
| 33 | */ |
||
| 34 | public function __construct(mixed $subject, Closure $context) |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritDoc} |
||
| 46 | */ |
||
| 47 | public function act(Closure $context): mixed |
||
| 52 |