gnu-social/vendor/phpunit/php-token-stream/tests/_fixture/php-code-coverage-issue-424.php
2021-07-16 19:44:40 +01:00

13 lines
222 B
PHP

<?php
class Example
{
public function even($numbers)
{
$numbers = array_filter($numbers, function($number) {
return $number % 2 === 0;
});
return array_merge($numbers);
}
}