From e1abdd1c7b2cbf0256cf5decbed52b5d74d848e2 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 15 Apr 2025 20:11:26 +0100 Subject: [PATCH] Removed deprecation resulting in Creation of dynamic property Signed-off-by: snipe --- app/Console/Commands/GeneratePersonalAccessToken.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/Console/Commands/GeneratePersonalAccessToken.php b/app/Console/Commands/GeneratePersonalAccessToken.php index c5f531213c..70cf51205c 100644 --- a/app/Console/Commands/GeneratePersonalAccessToken.php +++ b/app/Console/Commands/GeneratePersonalAccessToken.php @@ -2,11 +2,9 @@ namespace App\Console\Commands; -use App\Helpers\Helper; use Illuminate\Console\Command; use App\Models\User; use Laravel\Passport\TokenRepository; -use Illuminate\Contracts\Validation\Factory as ValidationFactory; use Illuminate\Support\Facades\DB; class GeneratePersonalAccessToken extends Command @@ -43,9 +41,9 @@ class GeneratePersonalAccessToken extends Command * * @return void */ - public function __construct(TokenRepository $tokenRepository, ValidationFactory $validation) + public function __construct(TokenRepository $tokenRepository) { - $this->validation = $validation; + //$this->validation = $validation; $this->tokenRepository = $tokenRepository; parent::__construct(); }