AzineContactFilter::filter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
ccs 1
cts 1
cp 1
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
namespace Azine\HybridAuthBundle\Services;
4
5
use Azine\HybridAuthBundle\Entity\UserContact;
6
7
class AzineContactFilter implements ContactFilter
8
{
9
    /**
10
     * Dummy implementation of the ContactFilter: doesn't do anything.
11
     *
12
     * @param $contacts array of UserContacts
13
     * @param $filterParams array of FilterOptions
14
     *
15 1
     * @return array of UserContact (same as $contacts
16
     */
17 1
    public function filter(array $contacts, array $filterParams)
18
    {
19
        return $contacts;
20
    }
21
}
22