Completed
Push — 1.0 ( 75b22b...f155d9 )
by Peter
15:56 queued 05:56
created

Select   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A modifySelection() 0 4 1
1
<?php
2
3
namespace Happyr\DoctrineSpecification\Query;
4
5
use Doctrine\ORM\QueryBuilder;
6
7
class Select extends AbstractSelect
8
{
9
    /**
10
     * @param QueryBuilder $qb
11
     * @param string[]     $selections
12
     */
13
    protected function modifySelection(QueryBuilder $qb, array $selections)
14
    {
15
        $qb->select($selections);
16
    }
17
}
18