Laravel 9 Update (#1413)
Update to Laravel 9 and PHP 8+ Co-authored-by: B.Fatih KOZ <fatih.koz@gmail.com>
This commit is contained in:
@@ -12,8 +12,8 @@ use Illuminate\Support\Facades\Log;
|
||||
|
||||
class ImporterController extends Controller
|
||||
{
|
||||
private $dbSvc;
|
||||
private $importerSvc;
|
||||
private DatabaseService $dbSvc;
|
||||
private ImporterService $importerSvc;
|
||||
|
||||
public function __construct(DatabaseService $dbSvc, ImporterService $importerSvc)
|
||||
{
|
||||
|
||||
@@ -29,14 +29,14 @@ use RuntimeException;
|
||||
|
||||
class InstallerController extends Controller
|
||||
{
|
||||
private $airlineSvc;
|
||||
private $analyticsSvc;
|
||||
private $dbSvc;
|
||||
private $envSvc;
|
||||
private $migrationSvc;
|
||||
private $reqSvc;
|
||||
private $seederSvc;
|
||||
private $userService;
|
||||
private AirlineService $airlineSvc;
|
||||
private AnalyticsService $analyticsSvc;
|
||||
private DatabaseService $dbSvc;
|
||||
private ConfigService $envSvc;
|
||||
private MigrationService $migrationSvc;
|
||||
private RequirementsService $reqSvc;
|
||||
private SeederService $seederSvc;
|
||||
private UserService $userService;
|
||||
|
||||
/**
|
||||
* InstallerController constructor.
|
||||
@@ -326,6 +326,7 @@ class InstallerController extends Controller
|
||||
'api_key' => Utils::generateApiKey(),
|
||||
'airline_id' => $airline->id,
|
||||
'password' => Hash::make($request->get('password')),
|
||||
'opt_in' => true,
|
||||
];
|
||||
|
||||
$user = $this->userService->createUser($attrs, ['admin']);
|
||||
|
||||
@@ -12,9 +12,9 @@ use Illuminate\Support\Facades\Log;
|
||||
|
||||
class UpdateController extends Controller
|
||||
{
|
||||
private $installerSvc;
|
||||
private $migrationSvc;
|
||||
private $seederSvc;
|
||||
private InstallerService $installerSvc;
|
||||
private MigrationService $migrationSvc;
|
||||
private SeederService $seederSvc;
|
||||
|
||||
/**
|
||||
* @param InstallerService $installerSvc
|
||||
|
||||
Reference in New Issue
Block a user