OrSet   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%
Metric Value
dl 0
loc 7
wmc 1
lcom 0
cbo 1
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A joinConditions() 0 4 1
1
<?php
2
3
namespace Muffin\Conditions\Sets;
4
5
use Muffin\Condition;
6
7
class OrSet extends AbstractSet
8
{
9 6
    protected function joinConditions(Condition $leftCondition, Condition $rightCondition)
10
    {
11 6
        return $leftCondition->or($rightCondition);
0 ignored issues
show
Bug introduced by
The method or() does not seem to exist on object<Muffin\Condition>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
12
    }
13
}
14