TeamSupporter
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 0
eloc 8
c 1
b 0
f 1
dl 0
loc 14
1
<?php
2
3
namespace Gurucomkz\EagerLoading\Tests\Models;
4
5
use SilverStripe\ORM\DataObject;
6
7
class TeamSupporter extends DataObject
8
{
9
    private static $table_name = 'TeamSupporter';
10
11
    private static $db = [
12
        'Ranking' => 'Int',
13
    ];
14
15
    private static $has_one = [
16
        'Team' => Team::class,
17
        'Supporter' => Supporter::class,
18
    ];
19
20
    private static $default_sort = '"TeamSupporter"."Ranking" ASC';
0 ignored issues
show
introduced by
The private property $default_sort is not used, and could be removed.
Loading history...
21
}
22