Passed
Push — master ( 755472...23808d )
by Adam
03:58
created

EqualMatchStrategy   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A isMatch() 0 4 1
1
<?php
2
3
namespace Caxy\HtmlDiff\Strategy;
4
5
class EqualMatchStrategy implements MatchStrategyInterface
6
{
7
    /**
8
     * @param string $a
9
     * @param string $b
10
     *
11
     * @return bool
12
     */
13
    public function isMatch($a, $b)
14
    {
15
        return $a === $b;
16
    }
17
}
18