Completed
Pull Request — master (#293)
by Дмитрий
03:41
created

Equal   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 17
ccs 0
cts 5
cp 0
rs 10
wmc 1
lcom 1
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSubVariables() 0 8 1
1
<?php
2
/**
3
 * @author Patsura Dmitry https://github.com/ovr <[email protected]>
4
 */
5
6
namespace PHPSA\ControlFlow\Node\Expr\BinaryOp;
7
8
use PHPSA\ControlFlow\Node\AbstractNode;
9
10
class Equal 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