Completed
Push — master ( 39b104...a0772e )
by Sherif
01:57
created
src/Modules/Reporting/Report.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -7,31 +7,31 @@
 block discarded – undo
7 7
 class Report extends Model
8 8
 {
9 9
 
10
-    use SoftDeletes;
11
-    protected $table    = 'reports';
12
-    protected $dates    = ['created_at', 'updated_at', 'deleted_at'];
13
-    protected $hidden   = ['deleted_at'];
14
-    protected $guarded  = ['id'];
15
-    protected $fillable = ['report_name', 'view_name'];
10
+	use SoftDeletes;
11
+	protected $table    = 'reports';
12
+	protected $dates    = ['created_at', 'updated_at', 'deleted_at'];
13
+	protected $hidden   = ['deleted_at'];
14
+	protected $guarded  = ['id'];
15
+	protected $fillable = ['report_name', 'view_name'];
16 16
 
17
-    public function getCreatedAtAttribute($value)
18
-    {
19
-        return \Carbon\Carbon::parse($value)->tz(\Session::get('time-zone'))->toDateTimeString();
20
-    }
17
+	public function getCreatedAtAttribute($value)
18
+	{
19
+		return \Carbon\Carbon::parse($value)->tz(\Session::get('time-zone'))->toDateTimeString();
20
+	}
21 21
 
22
-    public function getUpdatedAtAttribute($value)
23
-    {
24
-        return \Carbon\Carbon::parse($value)->tz(\Session::get('time-zone'))->toDateTimeString();
25
-    }
22
+	public function getUpdatedAtAttribute($value)
23
+	{
24
+		return \Carbon\Carbon::parse($value)->tz(\Session::get('time-zone'))->toDateTimeString();
25
+	}
26 26
 
27
-    public function getDeletedAtAttribute($value)
28
-    {
29
-        return \Carbon\Carbon::parse($value)->tz(\Session::get('time-zone'))->toDateTimeString();
30
-    }
27
+	public function getDeletedAtAttribute($value)
28
+	{
29
+		return \Carbon\Carbon::parse($value)->tz(\Session::get('time-zone'))->toDateTimeString();
30
+	}
31 31
     
32
-    public static function boot()
33
-    {
34
-        parent::boot();
35
-        Report::observe(ReportObserver::class);
36
-    }
32
+	public static function boot()
33
+	{
34
+		parent::boot();
35
+		Report::observe(ReportObserver::class);
36
+	}
37 37
 }
Please login to merge, or discard this patch.