php-code-coverage-issue-424.php 222 B

12345678910111213
  1. <?php
  2. class Example
  3. {
  4. public function even($numbers)
  5. {
  6. $numbers = array_filter($numbers, function($number) {
  7. return $number % 2 === 0;
  8. });
  9. return array_merge($numbers);
  10. }
  11. }