BBnepal-Accounts/hostel/vendor/phpunit/php-token-stream/tests/_fixture/php-code-coverage-issue-424.php

13 lines
222 B
PHP
Raw Normal View History

2024-07-10 12:43:19 +00:00
<?php
class Example
{
public function even($numbers)
{
$numbers = array_filter($numbers, function($number) {
return $number % 2 === 0;
});
return array_merge($numbers);
}
}