Completed
Push — master ( f9ad19...9da703 )
by Dmitry
04:28 queued 02:23
created

Asserter::visitMethodDimension()   B

Complexity

Conditions 3
Paths 3

Size

Total Lines 34
Code Lines 23

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 10
CRAP Score 3.2098

Importance

Changes 0
Metric Value
dl 0
loc 34
c 0
b 0
f 0
ccs 10
cts 14
cp 0.7143
rs 8.8571
cc 3
eloc 23
nc 3
nop 6
crap 3.2098
1
<?php
2
/**
3
 * PHP Billing Library
4
 *
5
 * @link      https://github.com/hiqdev/php-billing
6
 * @package   php-billing
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2017-2018, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\php\billing\formula;
12
13
use Hoa\Ruler\Model;
14
15
/**
16
 * @author Andrii Vasyliev <[email protected]>
17
 */
18
class Asserter extends \Hoa\Ruler\Visitor\Asserter
19
{
20 1
    public function visitModel(Model $element, &$handle = null, $eldnah = null)
21
    {
22 1
        return $element->getExpression()->accept($this, $handle, $eldnah);
23
    }
24
}
25