Removed deprecation resulting in Creation of dynamic property
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
71d8f1eb89
commit
e1abdd1c7b
1 changed files with 2 additions and 4 deletions
|
@ -2,11 +2,9 @@
|
||||||
|
|
||||||
namespace App\Console\Commands;
|
namespace App\Console\Commands;
|
||||||
|
|
||||||
use App\Helpers\Helper;
|
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use Laravel\Passport\TokenRepository;
|
use Laravel\Passport\TokenRepository;
|
||||||
use Illuminate\Contracts\Validation\Factory as ValidationFactory;
|
|
||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
|
|
||||||
class GeneratePersonalAccessToken extends Command
|
class GeneratePersonalAccessToken extends Command
|
||||||
|
@ -43,9 +41,9 @@ class GeneratePersonalAccessToken extends Command
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __construct(TokenRepository $tokenRepository, ValidationFactory $validation)
|
public function __construct(TokenRepository $tokenRepository)
|
||||||
{
|
{
|
||||||
$this->validation = $validation;
|
//$this->validation = $validation;
|
||||||
$this->tokenRepository = $tokenRepository;
|
$this->tokenRepository = $tokenRepository;
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue