Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class LeaderboardPlayerReward extends Model |
||
8 | { |
||
9 | |||
10 | protected $guarded = []; |
||
11 | |||
12 | public static function find($leaderbarodTimescopeId, $playerId) |
||
13 | { |
||
14 | return SELF::where('leaderboard_timescope_id', $leaderbarodTimescopeId)->where('player_id', $playerId)->first(); |
||
15 | } |
||
16 | |||
17 | public function timescope() |
||
20 | } |
||
21 | |||
22 | } |