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

EqualMatchStrategy::isMatch()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 2
dl 0
loc 4
ccs 0
cts 2
cp 0
crap 2
rs 10
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