User
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2
Metric Value
wmc 0
lcom 0
cbo 2
dl 0
loc 19
1
<?php
2
3
use Illuminate\Auth\UserTrait;
4
use Illuminate\Auth\UserInterface;
5
use Illuminate\Auth\Reminders\RemindableTrait;
6
use Illuminate\Auth\Reminders\RemindableInterface;
7
8
class User extends Eloquent implements UserInterface, RemindableInterface {
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
9
10
	use UserTrait, RemindableTrait;
11
12
	/**
13
	 * The database table used by the model.
14
	 *
15
	 * @var string
16
	 */
17
	protected $table = 'users';
18
19
	/**
20
	 * The attributes excluded from the model's JSON form.
21
	 *
22
	 * @var array
23
	 */
24
	protected $hidden = array('password', 'remember_token');
25
26
}
27