Skip to content

Commit

Permalink
Use FQCN using ::class syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
santigarcor committed Jul 10, 2020
1 parent bb145a7 commit fdb0bd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/laratrust.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
|
*/
'user_models' => [
'users' => 'App\User',
'users' => \App\User::class,
],

/*
Expand All @@ -88,14 +88,14 @@
*/
'models' => [

'role' => 'App\Role',
'role' => \App\Role::class,

'permission' => 'App\Permission',
'permission' => \App\Permission::class,

/**
* Will be used only if the teams functionality is enabled.
*/
'team' => 'App\Team',
'team' => \App\Team::class,
],

/*
Expand Down

0 comments on commit fdb0bd9

Please sign in to comment.