Use fully qualified namespaces, minor fixes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
use Watson\Validating\ValidatingTrait;
|
||||
use \Watson\Validating\ValidatingTrait;
|
||||
|
||||
class Component extends Eloquent implements Dingo\Api\Transformer\TransformableInterface {
|
||||
class Component extends Eloquent implements \Dingo\Api\Transformer\TransformableInterface {
|
||||
use ValidatingTrait;
|
||||
|
||||
protected $rules = [
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
use Watson\Validating\ValidatingTrait;
|
||||
use \Watson\Validating\ValidatingTrait;
|
||||
|
||||
class Incident extends Eloquent implements Dingo\Api\Transformer\TransformableInterface {
|
||||
class Incident extends Eloquent implements \Dingo\Api\Transformer\TransformableInterface {
|
||||
use ValidatingTrait;
|
||||
use \Illuminate\Database\Eloquent\SoftDeletingTrait;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Watson\Validating\ValidatingTrait;
|
||||
use Illuminate\Database\Eloquent\SoftDeletingTrait;
|
||||
use \Watson\Validating\ValidatingTrait;
|
||||
use \Illuminate\Database\Eloquent\SoftDeletingTrait;
|
||||
|
||||
class Subscriber extends Eloquent {
|
||||
use ValidatingTrait;
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Auth\UserTrait;
|
||||
use Illuminate\Auth\UserInterface;
|
||||
use Illuminate\Auth\Reminders\RemindableTrait;
|
||||
use Illuminate\Auth\Reminders\RemindableInterface;
|
||||
use \Illuminate\Auth\UserTrait;
|
||||
use \Illuminate\Auth\UserInterface;
|
||||
use \Illuminate\Auth\Reminders\RemindableTrait;
|
||||
use \Illuminate\Auth\Reminders\RemindableInterface;
|
||||
|
||||
class User extends Eloquent implements UserInterface, RemindableInterface {
|
||||
class User extends Eloquent implements UserInterface, RemindableInterface {
|
||||
|
||||
use UserTrait, RemindableTrait;
|
||||
use UserTrait, RemindableTrait;
|
||||
|
||||
/**
|
||||
* The database table used by the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'users';
|
||||
/**
|
||||
* The database table used by the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'users';
|
||||
|
||||
/**
|
||||
* The attributes excluded from the model's JSON form.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $hidden = array('password', 'remember_token');
|
||||
/**
|
||||
* The attributes excluded from the model's JSON form.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $hidden = ['password', 'remember_token'];
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user