Skip to content
  • This project
    • Loading...
  • Sign in

Aishwariya / upgrade_sli_5.8

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • upgrade_sli_5.8
  • vendor
  • phpunit
  • php-token-stream
  • tests
  • _fixture
  • php-code-coverage-issue-424.php
  • Aishwariya's avatar
    commited · 5f5130ab
    Aishwariya committed 2019-06-18 09:13:47 +0000
    5f5130ab
php-code-coverage-issue-424.php 222 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

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

        return array_merge($numbers);
    }
}