Total Complexity | 2 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
16 | abstract class SurveyEnvelope implements Block |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * Ctor. |
||
21 | * |
||
22 | * @phpstan-param X $subject |
||
23 | * @phpstan-param Closure(X, Closure(X): mixed): Y $usage |
||
24 | * @param mixed $subject element to be used in some context |
||
25 | * @param Closure $usage way of combining element and context |
||
26 | */ |
||
27 | public function __construct( |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * {@inheritDoc} |
||
48 | */ |
||
49 | public final function act(Closure $context): mixed |
||
54 |