| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | final class NullConsumer implements ConsumerInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritdoc} |
||
| 12 | */ |
||
| 13 | 2 | public function foreach(callable $consume): void |
|
| 14 | { |
||
| 15 | //pass |
||
| 16 | 2 | } |
|
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | 2 | public function take(int $count): ConsumerInterface |
|
| 22 | { |
||
| 23 | 2 | return $this; |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | 2 | public function filter(callable $predicate): ConsumerInterface |
|
| 32 | } |
||
| 33 | } |
||
| 34 |