Completed
Push — master ( 662a49...9d1eac )
by Дмитрий
9s
created

InstanceOfExpr::getSubVariables()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 8
ccs 0
cts 5
cp 0
crap 2
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/**
3
 * @author Patsura Dmitry https://github.com/ovr <[email protected]>
4
 */
5
6
namespace PHPSA\ControlFlow\Node\Expr;
7
8
use PHPSA\ControlFlow\Node\AbstractNode;
9
10
class InstanceOfExpr extends AbstractNode
11
{
12
    public $left;
13
14
    public $right;
15
16
    public $result;
17
18
    public function getSubVariables()
19
    {
20
        return [
21
            'left' => $this->left,
22
            'right' => $this->right,
23
            'result' => $this->result
24
        ];
25
    }
26
}
27