Test Failed
Push — master ( 22b809...326de4 )
by Brent
05:15 queued 39s
created

HtmlVariable::parse()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Stitcher\Variable;
4
5
use Stitcher\File;
6
7
class HtmlVariable extends AbstractVariable
8
{
9
    public function parse(): AbstractVariable
10
    {
11
        $this->parsed = File::read($this->unparsed);
12
13
        return $this;
14
    }
15
}
16