SkipNulls   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 1 Features 1
Metric Value
wmc 1
c 2
b 1
f 1
lcom 0
cbo 0
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A passes() 0 4 1
1
<?php
2
3
namespace Enzyme\Loopy\Filters;
4
5
class SkipNulls implements FilterInterface
6
{
7
    /**
8
     * {@inheritdoc}
9
     */
10
    public function passes($key, $value)
11
    {
12
        return $value !== null;
13
    }
14
}