Completed
Push — master ( 514fcf...c034e3 )
by Mark
37s queued 32s
created

SharedFormula::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 2
1
<?php
2
3
namespace PhpOffice\PhpSpreadsheet\Reader\Xlsx;
4
5
class SharedFormula
6
{
7
    private string $master;
8
9
    private string $formula;
10
11
    public function __construct(string $master, string $formula)
12
    {
13
        $this->master = $master;
14
        $this->formula = $formula;
15
    }
16
17
    public function master(): string
18
    {
19
        return $this->master;
20
    }
21
22
    public function formula(): string
23
    {
24
        return $this->formula;
25
    }
26
}
27