Passed
Push — master ( d1c1fe...0864dc )
by Petr
02:48
created

ResolveOptionsTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 8
ccs 3
cts 3
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setResolveOptions() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of riesenia/pohoda package.
5
 *
6
 * Licensed under the MIT License
7
 * (c) RIESENIA.com
8
 */
9
10
declare(strict_types=1);
11
12
namespace Riesenia\Pohoda\Common;
13
14
trait ResolveOptionsTrait
15
{
16
    protected bool $resolveOptions = true;
17
18 124
    public function setResolveOptions(bool $value): self
19
    {
20 124
        $this->resolveOptions = $value;
21 124
        return $this;
22
    }
23
}
24