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

MySqlGrammar::useLegacyGroupLimit()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 5
ccs 3
cts 3
cp 1
rs 10
cc 2
nc 2
nop 1
crap 2
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