use Scool\EnrollmentMobile\Traits\RecordsActivity;
9
use Illuminate\Database\Eloquent\Model;
10
use Prettus\Repository\Contracts\Transformable;
11
use Prettus\Repository\Traits\TransformableTrait;
12
use Scool\Foundation\User;
13
14
/**
15
* Class Enrollment
16
* @package App\Entities
17
*/
18
class Enrollment extends Model implements Transformable
19
{
20
//afegim model stateful per als models que volem qeu tinguin estat, com en el name per als noms. Afegir columna state ala migracio de l'objecte(i ens dira com esta l'objecte de la taula(open,closed,etc), es configurable. state amb nullabel si pot ser que no es guarde
21
use TransformableTrait,Nameable, RecordsActivity;//StatefulTrait;
50% 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.
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.