Completed
Push — master ( 7510c8...82c7bd )
by Kirill
08:19
created

ListValueNode::getValues()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
cc 2
nc 2
nop 0
dl 0
loc 7
ccs 0
cts 6
cp 0
crap 6
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * This file is part of Railt package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
declare(strict_types=1);
9
10
namespace Railt\SDL\Compiler\Ast\Value;
11
12
/**
13
 * Class ListValueNode
14
 */
15
class ListValueNode extends BaseValueNode
16
{
17
    /**
18
     * @return iterable|BaseValueNode[]
19
     */
20
    public function toPrimitive(): iterable
21
    {
22
        return $this->getChildren();
23
    }
24
}
25