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

src/Filter/Equals.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

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