Completed
Push — master ( b65b7b...c616f0 )
by Vincenzo
02:30
created

MatchResult::awayTeam()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace App\Lib\DsManager\Models\Orm;
4
5
/**
6
 * Class MatchResult
7
 * @package App\Lib\DsManager\Models\Orm
8
 */
9
class MatchResult extends Match
10
{
11
    /**
12
     * @var array
13
     */
14
    protected $fillable = [
15
        'goal_home',
16
        'goal_away',
17
        'info',
18
        'simulated'
19
    ];
20
21
    protected $hidden = [
22
        'home_team_id',
23
        'away_team_id',
24
        'created_at',
25
        'updated_at'
26
    ];
27
28
    /**
29
     * @var array
30
     */
31
    protected $casts = [
32
        'info' => 'json',
33
        'simulated' => 'boolean'
34
    ];
35
}