Completed
Push — master ( 346900...5e49b6 )
by David Martínez
04:50
created

src/Models/Attendance.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace Scool\Timetables\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
use Prettus\Repository\Contracts\Transformable;
7
use Prettus\Repository\Traits\TransformableTrait;
8
9
/**
10
 * Class Attendance
11
 * @package Scool\Timetables\Models
12
 */
13
class Attendance extends Model implements Transformable
14
{
15
//    use TransformableTrait;
0 ignored issues
show
Unused Code Comprehensibility introduced by
52% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
16
//
17
//    protected $fillable = [
18
//        'user_id', 'day_id', 'timeslot_id', 'date', 'studysubmodule_id', 'type_id', 'notes',
19
//    ];
20
}
21