Model fixes

This commit is contained in:
Graham Campbell
2015-01-04 13:39:34 +00:00
parent c025946aa8
commit 5370c1b68e
3 changed files with 3 additions and 10 deletions

View File

@@ -25,19 +25,12 @@ class User extends Model implements UserInterface, RemindableInterface
{
use UserTrait, RemindableTrait;
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'users';
/**
* The hidden properties.
*
* These are excluded when we are serializing the model.
*
* @var array
* @var string[]
*/
protected $hidden = ['password', 'remember_token'];