Fixed formatting of almost every file
This commit is contained in:
@@ -4,8 +4,8 @@ namespace App\Repositories;
|
||||
|
||||
use App\Models\Acars;
|
||||
use App\Models\Enums\AcarsType;
|
||||
use App\Models\Pirep;
|
||||
use App\Models\Enums\PirepState;
|
||||
use App\Models\Pirep;
|
||||
|
||||
class AcarsRepository extends BaseRepository //implements CacheableInterface
|
||||
{
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Aircraft;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
class AircraftRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Airline;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
|
||||
class AirlineRepository extends BaseRepository implements CacheableInterface
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Airport;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
|
||||
class AirportRepository extends BaseRepository implements CacheableInterface
|
||||
|
||||
@@ -4,7 +4,6 @@ namespace App\Repositories;
|
||||
|
||||
use Illuminate\Validation\Validator;
|
||||
|
||||
|
||||
abstract class BaseRepository extends \Prettus\Repository\Eloquent\BaseRepository {
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Fare;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
class FareRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
|
||||
@@ -2,12 +2,11 @@
|
||||
|
||||
namespace App\Repositories;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use \Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
|
||||
use App\Models\Flight;
|
||||
use App\Repositories\Criteria\WhereCriteria;
|
||||
use Illuminate\Http\Request;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
class FlightRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Navdata;
|
||||
use \Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
class NavdataRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\News;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
class NewsRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Rank;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
class RankRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
|
||||
@@ -2,14 +2,12 @@
|
||||
|
||||
namespace App\Repositories;
|
||||
|
||||
use Log;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
|
||||
use App\Models\Setting;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use App\Exceptions\SettingNotFound;
|
||||
|
||||
use App\Models\Setting;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Log;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Validator\Exceptions\ValidatorException;
|
||||
|
||||
class SettingRepository extends BaseRepository implements CacheableInterface
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Models\Subfleet;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
class SubfleetRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
<?php
|
||||
namespace App\Repositories;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\Enums\UserState;
|
||||
use App\Models\User;
|
||||
use App\Repositories\Criteria\WhereCriteria;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class UserRepository extends BaseRepository
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user