@@ -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 | { |
@@ -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 | */ |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | * |
| 104 | 104 | * @param type $id |
| 105 | 105 | * |
| 106 | - * @return type |
|
| 106 | + * @return boolean |
|
| 107 | 107 | */ |
| 108 | 108 | public function activate($id) |
| 109 | 109 | { |