GtExpr   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

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