Issues (7)

tests/Models/TeamSupporter.php (1 issue)

Severity
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
The private property $default_sort is not used, and could be removed.
Loading history...
21
}
22