Rename Interfaces to Contracts to better match Laravel conventions

This commit is contained in:
Nabeel Shahzad 2019-07-15 15:44:31 -04:00
parent 31f16d693b
commit a720f12e0b
223 changed files with 241 additions and 241 deletions

View File

@ -2,7 +2,7 @@
namespace App\Awards;
use App\Interfaces\Award;
use App\Contracts\Award;
/**
* Simple example of an awards class, where you can apply an award when a user

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
use App\Facades\Utils;
use App\Models\Award as AwardModel;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
/**
* Borrowed some ideas from myclabs/php-enum after this was created

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
/**
* Class FormRequest

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
use App\Models\Airline;
use Illuminate\Validation\ValidationException;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
/**
* Class Listener

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
use Cache;
use Log;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
use DB;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
/**
* Class Model

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
use Illuminate\Validation\Validator;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
/**
* Class Service

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
use ArrayAccess;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Interfaces;
namespace App\Contracts;
use Arrilot\Widgets\AbstractWidget;

View File

@ -3,7 +3,7 @@
namespace App\Cron\Hourly;
use App\Events\CronHourly;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Bid;
use Carbon\Carbon;

View File

@ -3,7 +3,7 @@
namespace App\Cron\Hourly;
use App\Events\CronHourly;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Pirep;
use Carbon\Carbon;

View File

@ -3,7 +3,7 @@
namespace App\Cron\Monthly;
use App\Events\CronMonthly;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Enums\ExpenseType;
use App\Services\Finance\RecurringFinanceService;

View File

@ -3,7 +3,7 @@
namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Enums\ExpenseType;
use App\Services\Finance\RecurringFinanceService;

View File

@ -3,7 +3,7 @@
namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Enums\UserState;
use App\Models\User;
use App\Services\UserService;

View File

@ -3,7 +3,7 @@
namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Journal;
use App\Repositories\JournalRepository;
use Log;

View File

@ -3,7 +3,7 @@
namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Enums\UserState;
use App\Repositories\UserRepository;
use App\Services\UserService;

View File

@ -3,7 +3,7 @@
namespace App\Cron\Nightly;
use App\Events\CronNightly;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Enums\Days;
use App\Models\Flight;
use Carbon\Carbon;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use App\Services\Installer\MigrationService;
use Illuminate\Database\Schema\Blueprint;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
class RolesPermissionsTables extends Migration

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateAirlinesTable extends Migration

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use App\Models\Enums\AircraftState;
use App\Models\Enums\AircraftStatus;
use Illuminate\Database\Schema\Blueprint;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateFaresTable extends Migration

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateAirportsTable extends Migration

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use App\Models\Enums\FlightType;
use Illuminate\Database\Schema\Blueprint;
@ -14,7 +14,7 @@ class CreateFlightTables extends Migration
public function up()
{
Schema::create('flights', function (Blueprint $table) {
$table->string('id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->unsignedInteger('airline_id');
$table->unsignedInteger('flight_number');
$table->string('route_code', 5)->nullable();
@ -47,7 +47,7 @@ class CreateFlightTables extends Migration
});
Schema::create('flight_fare', function (Blueprint $table) {
$table->string('flight_id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('flight_id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->unsignedInteger('fare_id');
$table->string('price', 10)->nullable();
$table->string('cost', 10)->nullable();
@ -71,7 +71,7 @@ class CreateFlightTables extends Migration
*/
Schema::create('flight_field_values', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('flight_id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('flight_id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->string('name', 50);
$table->string('slug', 50)->nullable();
$table->text('value');
@ -83,7 +83,7 @@ class CreateFlightTables extends Migration
Schema::create('flight_subfleet', function (Blueprint $table) {
$table->bigIncrements('id');
$table->unsignedInteger('subfleet_id');
$table->string('flight_id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('flight_id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->index(['subfleet_id', 'flight_id']);
$table->index(['flight_id', 'subfleet_id']);

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateRanksTable extends Migration

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
/**

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use App\Models\Enums\FlightType;
use App\Models\Enums\PirepState;
use App\Models\Enums\PirepStatus;
@ -16,7 +16,7 @@ class CreatePirepTables extends Migration
public function up()
{
Schema::create('pireps', function (Blueprint $table) {
$table->string('id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->unsignedInteger('user_id');
$table->unsignedInteger('airline_id');
$table->unsignedInteger('aircraft_id')->nullable();
@ -57,7 +57,7 @@ class CreatePirepTables extends Migration
Schema::create('pirep_comments', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('pirep_id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('pirep_id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->unsignedInteger('user_id');
$table->text('comment');
$table->timestamps();
@ -65,7 +65,7 @@ class CreatePirepTables extends Migration
Schema::create('pirep_fares', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('pirep_id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('pirep_id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->unsignedInteger('fare_id');
$table->unsignedInteger('count')->nullable()->default(0);
@ -81,7 +81,7 @@ class CreatePirepTables extends Migration
Schema::create('pirep_field_values', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('pirep_id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('pirep_id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->string('name', 50);
$table->string('slug', 50)->nullable();
$table->string('value')->nullable();

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@ -16,7 +16,7 @@ class CreateBidsTable extends Migration
Schema::create('bids', function (Blueprint $table) {
$table->increments('id');
$table->unsignedInteger('user_id');
$table->string('flight_id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('flight_id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->timestamps();
$table->index('user_id');

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@ -15,7 +15,7 @@ class CreateAcarsTables extends Migration
{
Schema::create('acars', function (Blueprint $table) {
$table->string('id', 12);
$table->string('pirep_id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('pirep_id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->unsignedTinyInteger('type');
$table->unsignedInteger('nav_type')->nullable();
$table->unsignedInteger('order')->default(0);

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateStatsTable extends Migration

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

View File

@ -1,6 +1,6 @@
<?php
use App\Interfaces\Migration;
use App\Contracts\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
@ -14,7 +14,7 @@ class CreateFilesTable extends Migration
public function up()
{
Schema::create('files', function (Blueprint $table) {
$table->string('id', \App\Interfaces\Model::ID_MAX_LENGTH);
$table->string('id', \App\Contracts\Model::ID_MAX_LENGTH);
$table->string('name');
$table->string('description')->nullable();
$table->string('disk')->nullable();

View File

@ -5,7 +5,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateAircraftRequest;
use App\Http\Requests\ImportRequest;
use App\Http\Requests\UpdateAircraftRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Aircraft;
use App\Models\Enums\AircraftStatus;
use App\Models\Expense;

View File

@ -4,7 +4,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateAirlineRequest;
use App\Http\Requests\UpdateAirlineRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\AirlineRepository;
use App\Support\Countries;
use Flash;

View File

@ -5,7 +5,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateAirportRequest;
use App\Http\Requests\ImportRequest;
use App\Http\Requests\UpdateAirportRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Airport;
use App\Models\Expense;
use App\Repositories\AirportRepository;

View File

@ -4,7 +4,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateAwardRequest;
use App\Http\Requests\UpdateAwardRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\AwardRepository;
use App\Services\AwardService;
use Flash;

View File

@ -3,7 +3,7 @@
namespace App\Http\Controllers\Admin;
use App\Facades\Utils;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\NewsRepository;
use App\Repositories\PirepRepository;
use App\Repositories\UserRepository;

View File

@ -3,7 +3,7 @@
namespace App\Http\Controllers\Admin;
use App\Http\Requests\ImportRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Enums\ExpenseType;
use App\Models\Expense;
use App\Repositories\AirlineRepository;

View File

@ -5,7 +5,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateFareRequest;
use App\Http\Requests\ImportRequest;
use App\Http\Requests\UpdateFareRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\FareRepository;
use App\Services\ExportService;
use App\Services\ImportService;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Admin;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\File;
use App\Services\FileService;
use Flash;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Admin;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Enums\JournalType;
use App\Models\Journal;
use App\Models\JournalTransaction;

View File

@ -4,7 +4,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateFlightRequest;
use App\Http\Requests\UpdateFlightRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Enums\Days;
use App\Models\Enums\FlightType;
use App\Models\Flight;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Admin;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\FlightFieldRepository;
use Flash;
use Illuminate\Http\Request;

View File

@ -5,7 +5,7 @@ namespace App\Http\Controllers\Admin;
use App\Facades\Utils;
use App\Http\Requests\CreatePirepRequest;
use App\Http\Requests\UpdatePirepRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Enums\PirepSource;
use App\Models\Enums\PirepState;
use App\Models\Pirep;

View File

@ -4,7 +4,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreatePirepFieldRequest;
use App\Http\Requests\UpdatePirepFieldRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\PirepFieldRepository;
use Flash;
use Illuminate\Http\Request;

View File

@ -4,7 +4,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateRankRequest;
use App\Http\Requests\UpdateRankRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\RankRepository;
use App\Repositories\SubfleetRepository;
use App\Services\FleetService;

View File

@ -4,7 +4,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateRoleRequest;
use App\Http\Requests\UpdateRoleRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\PermissionsRepository;
use App\Repositories\RoleRepository;
use Flash;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Admin;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Setting;
use Illuminate\Http\Request;
use Log;

View File

@ -5,7 +5,7 @@ namespace App\Http\Controllers\Admin;
use App\Http\Requests\CreateSubfleetRequest;
use App\Http\Requests\ImportRequest;
use App\Http\Requests\UpdateSubfleetRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Airline;
use App\Models\Enums\FuelType;
use App\Models\Expense;

View File

@ -5,7 +5,7 @@ namespace App\Http\Controllers\Admin;
use App\Facades\Utils;
use App\Http\Requests\CreateUserRequest;
use App\Http\Requests\UpdateUserRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Rank;
use App\Models\Role;
use App\Models\User;

View File

@ -7,7 +7,7 @@ use App\Http\Requests\Acars\EventRequest;
use App\Http\Requests\Acars\LogRequest;
use App\Http\Requests\Acars\PositionRequest;
use App\Http\Resources\AcarsRoute as AcarsRouteResource;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Acars;
use App\Models\Enums\AcarsType;
use App\Models\Enums\PirepStatus;

View File

@ -3,7 +3,7 @@
namespace App\Http\Controllers\Api;
use App\Http\Resources\Airline as AirlineResource;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\AirlineRepository;
use Illuminate\Http\Request;

View File

@ -3,7 +3,7 @@
namespace App\Http\Controllers\Api;
use App\Http\Resources\Airport as AirportResource;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\AirportRepository;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;

View File

@ -4,7 +4,7 @@ namespace App\Http\Controllers\Api;
use App\Http\Resources\Aircraft as AircraftResource;
use App\Http\Resources\Subfleet as SubfleetResource;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\AircraftRepository;
use App\Repositories\SubfleetRepository;
use Illuminate\Http\Request;

View File

@ -4,7 +4,7 @@ namespace App\Http\Controllers\Api;
use App\Http\Resources\Flight as FlightResource;
use App\Http\Resources\Navdata as NavdataResource;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\Criteria\WhereCriteria;
use App\Repositories\FlightRepository;
use App\Services\FlightService;

View File

@ -3,7 +3,7 @@
namespace App\Http\Controllers\Api;
use App\Http\Resources\News as NewsResource;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\NewsRepository;
use Illuminate\Http\Request;

View File

@ -17,7 +17,7 @@ use App\Http\Resources\JournalTransaction as JournalTransactionResource;
use App\Http\Resources\Pirep as PirepResource;
use App\Http\Resources\PirepComment as PirepCommentResource;
use App\Http\Resources\PirepFieldCollection;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Acars;
use App\Models\Enums\AcarsType;
use App\Models\Enums\PirepFieldSource;

View File

@ -3,7 +3,7 @@
namespace App\Http\Controllers\Api;
use App\Http\Resources\Setting as SettingResource;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\SettingRepository;
use Illuminate\Http\Request;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Api;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use PragmaRX\Version\Package\Facade as Version;
/**

View File

@ -6,7 +6,7 @@ use App\Http\Resources\Bid as BidResource;
use App\Http\Resources\Pirep as PirepResource;
use App\Http\Resources\Subfleet as SubfleetResource;
use App\Http\Resources\User as UserResource;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Bid;
use App\Models\Enums\PirepState;
use App\Repositories\Criteria\WhereCriteria;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Auth;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
/**

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Auth;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Enums\UserState;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;

View File

@ -3,7 +3,7 @@
namespace App\Http\Controllers\Auth;
use App\Facades\Utils;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Enums\UserState;
use App\Models\User;
use App\Repositories\AirlineRepository;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Auth;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
use Illuminate\Http\Request;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Frontend;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\AcarsRepository;
use App\Services\GeoService;
use Illuminate\Http\Request;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Frontend;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\AirportRepository;
use App\Repositories\FlightRepository;
use Flash;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Frontend;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Repositories\PirepRepository;
use Illuminate\Support\Facades\Auth;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Frontend;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\File;
use Auth;
use Flash;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Frontend;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Bid;
use App\Repositories\AirlineRepository;
use App\Repositories\AirportRepository;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Frontend;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\User;
use Illuminate\Database\QueryException;
use Log;

View File

@ -5,7 +5,7 @@ namespace App\Http\Controllers\Frontend;
use App\Facades\Utils;
use App\Http\Requests\CreatePirepRequest;
use App\Http\Requests\UpdatePirepRequest;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Enums\PirepSource;
use App\Models\Enums\PirepState;
use App\Models\Pirep;

View File

@ -3,7 +3,7 @@
namespace App\Http\Controllers\Frontend;
use App\Facades\Utils;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\User;
use App\Repositories\AirlineRepository;
use App\Repositories\AirportRepository;

View File

@ -2,7 +2,7 @@
namespace App\Http\Controllers\Frontend;
use App\Interfaces\Controller;
use App\Contracts\Controller;
use App\Models\Enums\UserState;
use App\Repositories\Criteria\WhereCriteria;
use App\Repositories\UserRepository;

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
/**
* Class CommentRequest

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
use App\Models\Pirep;
use Auth;

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
/**
* Class PrefileRequest

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
use App\Models\Pirep;
use Auth;

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
use App\Models\Pirep;
use Auth;

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
use App\Models\Pirep;
use Auth;

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
/**
* Class PrefileRequest

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
use App\Models\Pirep;
use Auth;

View File

@ -2,7 +2,7 @@
namespace App\Http\Requests\Acars;
use App\Interfaces\FormRequest;
use App\Contracts\FormRequest;
use App\Models\Pirep;
use Auth;

View File

@ -2,7 +2,7 @@
namespace App\Http\Resources;
use App\Interfaces\Unit;
use App\Contracts\Unit;
use Illuminate\Http\Resources\Json\Resource;
/**

View File

@ -3,7 +3,7 @@
namespace App\Listeners;
use App\Events\UserStatsChanged;
use App\Interfaces\Listener;
use App\Contracts\Listener;
use App\Models\Award;
/**

Some files were not shown because too many files have changed in this diff Show More