VoidValue::getOwner()   A
last analyzed

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
dl 0
loc 4
c 1
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace gamringer\JSONPointer;
5
6
class VoidValue
7
{
8
    protected $owner;
9
    protected $target;
10
11
    public function __construct(&$owner = null, string $target = null)
12
    {
13
        $this->owner = $owner;
14
        $this->target = $target;
15
    }
16
17
    public function &getOwner()
18
    {
19
        return $this->owner;
20
    }
21
22
    public function getTarget()
23
    {
24
        return $this->target;
25
    }
26
}
27