Completed
Pull Request — master (#763)
by
unknown
12:49 queued 09:04
created

ManagedStyle::isUpdated()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Box\Spout\Writer\Common\Manager\Style;
4
5
use Box\Spout\Common\Entity\Style\Style;
6
7
class ManagedStyle
8
{
9
    private $style;
10
    private $isUpdated;
11
12 71
    public function __construct(Style $style, bool $isUpdated)
13
    {
14 71
        $this->style = $style;
15 71
        $this->isUpdated = $isUpdated;
16 71
    }
17
18 4
    public function getStyle() : Style
19
    {
20 4
        return $this->style;
21
    }
22
23 71
    public function isUpdated() : bool
24
    {
25 71
        return $this->isUpdated;
26
    }
27
}
28