Passed
Push — master ( 4ee5c7...1ee112 )
by Jonas
03:35
created

HasManyThrough::limit()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 2

Importance

Changes 0
Metric Value
cc 2
eloc 5
nc 2
nop 1
dl 0
loc 9
ccs 5
cts 5
cp 1
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Staudenmeir\EloquentEagerLimit\Relations;
4
5
use Illuminate\Database\Eloquent\Relations\HasManyThrough as Base;
6
7
class HasManyThrough extends Base
8
{
9
    use HasOneOrManyThrough;
0 ignored issues
show
Bug introduced by
The trait Staudenmeir\EloquentEage...ons\HasOneOrManyThrough requires the property $exists which is not provided by Staudenmeir\EloquentEage...elations\HasManyThrough.
Loading history...
10
}
11