EmptyFeatureSet::filter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 2
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * @author ostico [email protected] / [email protected]
5
 * Date: 02/03/22
6
 * Time: 18:39
7
 *
8
 */
9
10
namespace Matecat\SubFiltering\Commons;
11
12
use Matecat\SubFiltering\Contracts\FeatureSetInterface;
13
14
/**
15
 * Used from sources which want not to implement a custom object from this package
16
 */
17
class EmptyFeatureSet implements FeatureSetInterface {
18
19
    /**
20
     * @inheritDoc
21
     */
22 13
    public function filter( $method, $filterable ) {
23 13
        return $filterable;
24
    }
25
}