| Total Complexity | 2 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | abstract class RepeatEnvelope implements Repeat |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Ctor. |
||
| 18 | * |
||
| 19 | * @phpstan-param T $subject |
||
| 20 | * @phpstan-param Closure(T): Y $context |
||
| 21 | * @param mixed $subject element to be processed. |
||
| 22 | * @param Closure $context context for the element. |
||
| 23 | */ |
||
| 24 | public function __construct( |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Returns several results of applying context to subject. |
||
| 45 | * |
||
| 46 | * @param int $count |
||
| 47 | * @phpstan-return Y[] |
||
| 48 | * @return mixed[] |
||
| 49 | */ |
||
| 50 | public function times(int $count): array |
||
| 58 |