diff --git a/src/Http/Controllers/AuthenticatedSessionController.php b/src/Http/Controllers/AuthenticatedSessionController.php index 1d129ce..b0bf9e9 100644 --- a/src/Http/Controllers/AuthenticatedSessionController.php +++ b/src/Http/Controllers/AuthenticatedSessionController.php @@ -19,8 +19,6 @@ class AuthenticatedSessionController extends Controller /** * Handle an incoming authentication request. * - * @param LoginRequest $request - * @return JsonResponse * @throws ValidationException */ public function store(LoginRequest $request): JsonResponse diff --git a/src/Models/Permission.php b/src/Models/Permission.php index 129da07..1d33b37 100644 --- a/src/Models/Permission.php +++ b/src/Models/Permission.php @@ -25,8 +25,6 @@ class Permission extends Model implements Auditable protected $guarded = ['id']; - - protected $casts = []; /* diff --git a/src/Models/Profile.php b/src/Models/Profile.php index 599c535..1c7b18a 100644 --- a/src/Models/Profile.php +++ b/src/Models/Profile.php @@ -25,8 +25,6 @@ class Profile extends Model implements Auditable protected $guarded = ['id']; - - protected $casts = []; /* diff --git a/src/Models/Role.php b/src/Models/Role.php index 769eedf..eefac52 100644 --- a/src/Models/Role.php +++ b/src/Models/Role.php @@ -25,8 +25,6 @@ class Role extends Model implements Auditable protected $guarded = ['id']; - - protected $casts = []; /* diff --git a/src/Models/Team.php b/src/Models/Team.php index 9e95ec0..8d22149 100644 --- a/src/Models/Team.php +++ b/src/Models/Team.php @@ -25,8 +25,6 @@ class Team extends Model implements Auditable protected $guarded = ['id']; - - protected $casts = []; /* diff --git a/src/Models/User.php b/src/Models/User.php index 43d3e7c..3a43fef 100644 --- a/src/Models/User.php +++ b/src/Models/User.php @@ -27,8 +27,6 @@ class User extends Authenticatable implements Auditable protected $guarded = ['id']; - - protected $casts = []; /* diff --git a/src/RepositoryServiceProvider.php b/src/RepositoryServiceProvider.php index 01d8254..b55b2af 100644 --- a/src/RepositoryServiceProvider.php +++ b/src/RepositoryServiceProvider.php @@ -3,19 +3,19 @@ namespace Fintech\Auth; use Fintech\Auth\Interfaces\PermissionRepository; +use Fintech\Auth\Interfaces\ProfileRepository; use Fintech\Auth\Interfaces\RoleRepository; use Fintech\Auth\Interfaces\TeamRepository; -use Fintech\Auth\Interfaces\ProfileRepository; use Fintech\Auth\Interfaces\UserRepository; use Fintech\Auth\Repositories\Eloquent\PermissionRepository as EloquentPermissionRepository; +use Fintech\Auth\Repositories\Eloquent\ProfileRepository as EloquentProfileRepository; use Fintech\Auth\Repositories\Eloquent\RoleRepository as EloquentRoleRepository; use Fintech\Auth\Repositories\Eloquent\TeamRepository as EloquentTeamRepository; -use Fintech\Auth\Repositories\Eloquent\ProfileRepository as EloquentProfileRepository; use Fintech\Auth\Repositories\Eloquent\UserRepository as EloquentUserRepository; use Fintech\Auth\Repositories\Mongodb\PermissionRepository as MongodbPermissionRepository; +use Fintech\Auth\Repositories\Mongodb\ProfileRepository as MongodbProfileRepository; use Fintech\Auth\Repositories\Mongodb\RoleRepository as MongodbRoleRepository; use Fintech\Auth\Repositories\Mongodb\TeamRepository as MongodbTeamRepository; -use Fintech\Auth\Repositories\Mongodb\ProfileRepository as MongodbProfileRepository; use Fintech\Auth\Repositories\Mongodb\UserRepository as MongodbUserRepository; use Illuminate\Contracts\Support\DeferrableProvider; use Illuminate\Support\ServiceProvider; diff --git a/src/Services/ProfileService.php b/src/Services/ProfileService.php index 6b6f70f..a90835e 100644 --- a/src/Services/ProfileService.php +++ b/src/Services/ProfileService.php @@ -6,14 +6,13 @@ /** * Class UserProfileService - * */ class ProfileService { private $profileRepository; + /** * UserProfileService constructor. - * @param ProfileRepository $profileRepository */ public function __construct(ProfileRepository $profileRepository) {