EmptyFeatureSet   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 7
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A filter() 0 2 1
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 12
    public function filter( $method, $filterable ) {
23 12
        return $filterable;
24
    }
25
}