Completed
Push — master ( 3dab41...181b76 )
by Peter
06:26
created

Equals   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the Happyr Doctrine Specification package.
5
 *
6
 * (c) Tobias Nyholm <[email protected]>
7
 *     Kacper Gunia <[email protected]>
8
 *     Peter Gribanov <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Happyr\DoctrineSpecification\Filter;
15
16
use Happyr\DoctrineSpecification\Operand\Operand;
17
18
class Equals extends Comparison
0 ignored issues
show
Deprecated Code introduced by
The class Happyr\DoctrineSpecification\Filter\Comparison has been deprecated with message: This class will be marked as abstract in 2.0.

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
19
{
20
    /**
21
     * @param Operand|string $field
22
     * @param Operand|mixed  $value
23
     * @param string|null    $dqlAlias
24
     */
25
    public function __construct($field, $value, $dqlAlias = null)
26
    {
27
        parent::__construct(self::EQ, $field, $value, $dqlAlias);
28
    }
29
}
30