Completed
Push — 2.0 ( bbbe58...b09486 )
by Peter
09:12 queued 19s
created

InnerJoin::modifyJoin()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * This file is part of the Happyr Doctrine Specification package.
6
 *
7
 * (c) Tobias Nyholm <[email protected]>
8
 *     Kacper Gunia <[email protected]>
9
 *     Peter Gribanov <[email protected]>
10
 *
11
 * For the full copyright and license information, please view the LICENSE
12
 * file that was distributed with this source code.
13
 */
14
15
namespace Happyr\DoctrineSpecification\Query;
16
17
use Doctrine\ORM\QueryBuilder;
18
19
class InnerJoin extends AbstractJoin
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    protected function modifyJoin(QueryBuilder $qb, $join, $alias): void
25
    {
26
        $qb->innerJoin($join, $alias);
27
    }
28
}
29