@@ -23,7 +23,6 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Update a entity in repository by id. |
| 25 | 25 | * |
| 26 | - * @param array $attributes |
|
| 27 | 26 | * @param $id |
| 28 | 27 | * @return mixed |
| 29 | 28 | */ |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use Longman\Platfourm\Database\Eloquent\Model; |
| 14 | 14 | use Longman\Platfourm\Database\Eloquent\Traits\SoftDeletes; |
| 15 | 15 | use Longman\Platfourm\Database\Eloquent\Traits\UuidForPrimary; |
| 16 | -use Longman\Platfourm\User\Models\Eloquent\EntrustUserTrait; |
|
| 17 | 16 | |
| 18 | 17 | class User extends Model implements AuthenticatableContract, AuthorizableContract, CanResetPasswordContract |
| 19 | 18 | { |
@@ -30,9 +30,8 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * Attach role to user. |
| 32 | 32 | * |
| 33 | - * @param type $roleName |
|
| 34 | 33 | * |
| 35 | - * @return type |
|
| 34 | + * @return boolean |
|
| 36 | 35 | */ |
| 37 | 36 | public function updateAvatar(Client $httpClient, Cache $cache, AuthUserService $authUserService) |
| 38 | 37 | { |
@@ -93,7 +92,7 @@ discard block |
||
| 93 | 92 | * |
| 94 | 93 | * @param type $id |
| 95 | 94 | * |
| 96 | - * @return type |
|
| 95 | + * @return boolean |
|
| 97 | 96 | */ |
| 98 | 97 | public function activate($id) |
| 99 | 98 | { |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Create a new filter instance. |
| 19 | 19 | * |
| 20 | - * @param Guard $auth |
|
| 21 | 20 | * @return void |
| 22 | 21 | */ |
| 23 | 22 | public function __construct(AuthUserServiceContract $authService) |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Create a new filter instance. |
| 19 | 19 | * |
| 20 | - * @param Guard $auth |
|
| 21 | 20 | * @return void |
| 22 | 21 | */ |
| 23 | 22 | public function __construct(AuthUserServiceContract $authService) |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Create a new filter instance. |
| 19 | 19 | * |
| 20 | - * @param Guard $auth |
|
| 21 | 20 | * @return void |
| 22 | 21 | */ |
| 23 | 22 | public function __construct(AuthUserServiceContract $authService) |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use App\Repositories\Identity\UserRepository; |
| 8 | 8 | use App\Repositories\Repository; |
| 9 | 9 | use App\Services\EntityService; |
| 10 | -use App\Services\ServiceDispatcher; |
|
| 11 | 10 | |
| 12 | 11 | class UpdateProfileService extends EntityService |
| 13 | 12 | { |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Update a entity in repository by id. |
| 25 | 25 | * |
| 26 | - * @param array $attributes |
|
| 27 | 26 | * @param $id |
| 28 | 27 | * @return mixed |
| 29 | 28 | */ |