Completed
Push — master ( 14b750...48f19c )
by Vincenzo
02:26
created
api/Lib/DsManager/Models/Orm/Team.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -8,45 +8,45 @@
 block discarded – undo
8 8
  */
9 9
 class Team extends DsManagerOrm
10 10
 {
11
-    /**
12
-     * @var string
13
-     */
14
-    protected $table = 'teams';
11
+	/**
12
+	 * @var string
13
+	 */
14
+	protected $table = 'teams';
15 15
 
16
-    /**
17
-     * @var array
18
-     */
19
-    protected $fillable = [
20
-        'name',
21
-        'nationality'
22
-    ];
16
+	/**
17
+	 * @var array
18
+	 */
19
+	protected $fillable = [
20
+		'name',
21
+		'nationality'
22
+	];
23 23
 
24
-    /**
25
-     * @return \Illuminate\Database\Eloquent\Relations\HasMany
26
-     */
27
-    public function roster()
28
-    {
29
-        return $this->hasMany(Player::class);
30
-    }
24
+	/**
25
+	 * @return \Illuminate\Database\Eloquent\Relations\HasMany
26
+	 */
27
+	public function roster()
28
+	{
29
+		return $this->hasMany(Player::class);
30
+	}
31 31
 
32
-    /**
33
-     * @return \Illuminate\Database\Eloquent\Relations\HasMany
34
-     */
35
-    public function coach()
36
-    {
37
-        return $this->hasOne(Coach::class);
38
-    }
32
+	/**
33
+	 * @return \Illuminate\Database\Eloquent\Relations\HasMany
34
+	 */
35
+	public function coach()
36
+	{
37
+		return $this->hasOne(Coach::class);
38
+	}
39 39
 
40
-    /**
41
-     * @param $query
42
-     * @return mixed
43
-     */
44
-    public function scopeComplete($query)
45
-    {
46
-        return $query->with(
47
-            'roster',
48
-            'coach'
49
-        );
50
-    }
40
+	/**
41
+	 * @param $query
42
+	 * @return mixed
43
+	 */
44
+	public function scopeComplete($query)
45
+	{
46
+		return $query->with(
47
+			'roster',
48
+			'coach'
49
+		);
50
+	}
51 51
 
52 52
 }
53 53
\ No newline at end of file
Please login to merge, or discard this patch.