Expression   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LaravelFreelancerNL\FluentAQL\Expressions;
6
7
use LaravelFreelancerNL\FluentAQL\QueryElement;
8
9
abstract class Expression extends QueryElement
10
{
11
    /**
12
     * @var mixed
13
     */
14
    protected $expression;
15
16
    /**
17
     * Create an expression.
18
     *
19
     * @param mixed $expression
20
     */
21 5
    public function __construct(mixed $expression)
22
    {
23 5
        $this->expression = $expression;
24
    }
25
}
26