None   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 18
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A isFiltered() 0 4 1
A getProperties() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Crossjoin\Browscap\PropertyFilter;
5
6
/**
7
 * Class None
8
 *
9
 * @package Crossjoin\Browscap\PropertyFilter
10
 * @author Christoph Ziegenberg <[email protected]>
11
 * @link https://github.com/crossjoin/browscap
12
 */
13
class None implements PropertyFilterInterface
14
{
15
    /**
16
     * @inheritdoc
17
     */
18
    public function isFiltered(string $property) : bool
19
    {
20
        return false;
21
    }
22
23
    /**
24
     * @inheritdoc
25
     */
26
    public function getProperties() : array
27
    {
28
        return [];
29
    }
30
}
31