Passed
Push — master ( 0d1e3a...a8104a )
by Jonas
11:45
created

MySqlGrammar::compileLegacyGroupLimit()   A

Complexity

Conditions 3
Paths 4

Size

Total Lines 39
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 20
CRAP Score 3

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 19
c 1
b 0
f 0
dl 0
loc 39
ccs 20
cts 20
cp 1
rs 9.6333
cc 3
nc 4
nop 1
crap 3
1
<?php
2
3
namespace Staudenmeir\EloquentEagerLimit\Grammars;
4
5
use Illuminate\Database\Query\Grammars\MySqlGrammar as Base;
6
use Staudenmeir\EloquentEagerLimit\Grammars\Traits\CompilesMySqlGroupLimit;
7
8
class MySqlGrammar extends Base
9
{
10
    use CompilesMySqlGroupLimit;
0 ignored issues
show
Bug introduced by
The trait Staudenmeir\EloquentEage...CompilesMySqlGroupLimit requires the property $groupLimit which is not provided by Staudenmeir\EloquentEage...t\Grammars\MySqlGrammar.
Loading history...
11
}
12