gnu-social/vendor/phpunit/php-token-stream/tests/_fixture/php-code-coverage-issue-424.php

13 lines
222 B
PHP
Raw Normal View History

2020-08-07 23:42:38 +01:00
<?php
class Example
{
public function even($numbers)
{
$numbers = array_filter($numbers, function($number) {
return $number % 2 === 0;
});
return array_merge($numbers);
}
}