@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | use App\User; |
| 4 | 4 | use Illuminate\Database\Eloquent\SoftDeletes; |
| 5 | -use Illuminate\Notifications\Notifiable; |
|
| 6 | 5 | use Laravel\Passport\HasApiTokens; |
| 7 | 6 | |
| 8 | 7 | class AclUser extends User { |
@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php namespace App\Modules\Acl\Repositories; |
| 2 | 2 | |
| 3 | 3 | use App\Modules\Core\AbstractRepositories\AbstractRepository; |
| 4 | -use Lcobucci\JWT\ValidationData; |
|
| 5 | 4 | use Illuminate\Support\Arr; |
| 6 | 5 | |
| 7 | 6 | class UserRepository extends AbstractRepository |
@@ -307,7 +307,7 @@ |
||
| 307 | 307 | if ($timezone && $timezone !== $user->timezone) |
| 308 | 308 | { |
| 309 | 309 | $user->timezone = $timezone; |
| 310 | - $update = true; |
|
| 310 | + $update = true; |
|
| 311 | 311 | } |
| 312 | 312 | |
| 313 | 313 | if ($update) |
@@ -11,6 +11,6 @@ |
||
| 11 | 11 | | |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -Broadcast::channel('users.{id}', function ($user, $id) { |
|
| 14 | +Broadcast::channel('users.{id}', function($user, $id) { |
|
| 15 | 15 | return (int) $user->id === (int) $id; |
| 16 | 16 | }); |