Passed
Branch master (e30549)
by noitran
04:00
created

LtExpr   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 15
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Noitran\RQL\Expressions;
4
5
/**
6
 * Class LtExpr
7
 */
8
class LtExpr extends AbstractExpr
9
{
10
    /**
11
     * LtExpr constructor.
12
     *
13
     * @param string|null $relation
14
     * @param string $column
15
     * @param mixed $value
16
     */
17 1
    public function __construct(?string $relation, string $column, $value)
18
    {
19 1
        parent::__construct($relation, $column, $value);
20
21 1
        $this->setExpression('$lt');
22 1
        $this->setOperator('<');
23 1
    }
24
}
25