From 776aa5660463952c7a3cae73cb52aee304d9cff0 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Sun, 10 Jan 2021 09:31:34 +0000 Subject: [PATCH] wip --- packages/airlines/src/Rules/Airline.php | 4 ++-- packages/airports/src/Rules/Airport.php | 4 ++-- packages/continents/src/Rules/Continent.php | 4 ++-- packages/countries/src/Rules/Country.php | 4 ++-- packages/currencies/src/Rules/Currency.php | 4 ++-- packages/gb-counties/src/Rules/GbCounty.php | 4 ++-- packages/regions/src/Rules/Region.php | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/airlines/src/Rules/Airline.php b/packages/airlines/src/Rules/Airline.php index e1ba67d..21b4859 100644 --- a/packages/airlines/src/Rules/Airline.php +++ b/packages/airlines/src/Rules/Airline.php @@ -2,7 +2,7 @@ namespace Squire\Rules; -use Squire\Models\Airline as AirlineModel; +use Squire\Models; use Squire\Rule; class Airline extends Rule @@ -11,6 +11,6 @@ class Airline extends Rule protected function getQueryBuilder() { - return AirlineModel::query(); + return Models\Airline::query(); } } \ No newline at end of file diff --git a/packages/airports/src/Rules/Airport.php b/packages/airports/src/Rules/Airport.php index d1058dc..30f7ad9 100644 --- a/packages/airports/src/Rules/Airport.php +++ b/packages/airports/src/Rules/Airport.php @@ -2,7 +2,7 @@ namespace Squire\Rules; -use Squire\Models\Airport as AirportModel; +use Squire\Models; use Squire\Rule; class Airport extends Rule @@ -11,6 +11,6 @@ class Airport extends Rule protected function getQueryBuilder() { - return AirportModel::query(); + return Models\Airport::query(); } } \ No newline at end of file diff --git a/packages/continents/src/Rules/Continent.php b/packages/continents/src/Rules/Continent.php index e2a5699..8a43f62 100644 --- a/packages/continents/src/Rules/Continent.php +++ b/packages/continents/src/Rules/Continent.php @@ -2,7 +2,7 @@ namespace Squire\Rules; -use Squire\Models\Continent as ContinentModel; +use Squire\Models; use Squire\Rule; class Continent extends Rule @@ -11,6 +11,6 @@ class Continent extends Rule protected function getQueryBuilder() { - return ContinentModel::query(); + return Models\Continent::query(); } } \ No newline at end of file diff --git a/packages/countries/src/Rules/Country.php b/packages/countries/src/Rules/Country.php index cfd2be7..f8b8b8c 100644 --- a/packages/countries/src/Rules/Country.php +++ b/packages/countries/src/Rules/Country.php @@ -2,7 +2,7 @@ namespace Squire\Rules; -use Squire\Models\Country as CountryModel; +use Squire\Models; use Squire\Rule; class Country extends Rule @@ -11,6 +11,6 @@ class Country extends Rule protected function getQueryBuilder() { - return CountryModel::query(); + return Models\Country::query(); } } \ No newline at end of file diff --git a/packages/currencies/src/Rules/Currency.php b/packages/currencies/src/Rules/Currency.php index de5e855..b8b40d0 100644 --- a/packages/currencies/src/Rules/Currency.php +++ b/packages/currencies/src/Rules/Currency.php @@ -2,7 +2,7 @@ namespace Squire\Rules; -use Squire\Models\Currency as CurrencyModel; +use Squire\Models; use Squire\Rule; class Currency extends Rule @@ -11,6 +11,6 @@ class Currency extends Rule protected function getQueryBuilder() { - return CurrencyModel::query(); + return Models\Currency::query(); } } \ No newline at end of file diff --git a/packages/gb-counties/src/Rules/GbCounty.php b/packages/gb-counties/src/Rules/GbCounty.php index d23a979..64ef486 100644 --- a/packages/gb-counties/src/Rules/GbCounty.php +++ b/packages/gb-counties/src/Rules/GbCounty.php @@ -2,7 +2,7 @@ namespace Squire\Rules; -use Squire\Models\GbCounty as GbCountyModel; +use Squire\Models; use Squire\Rule; class GbCounty extends Rule @@ -11,6 +11,6 @@ class GbCounty extends Rule protected function getQueryBuilder() { - return GbCountyModel::query(); + return Models\GbCounty::query(); } } \ No newline at end of file diff --git a/packages/regions/src/Rules/Region.php b/packages/regions/src/Rules/Region.php index de96dfc..3832c48 100644 --- a/packages/regions/src/Rules/Region.php +++ b/packages/regions/src/Rules/Region.php @@ -2,7 +2,7 @@ namespace Squire\Rules; -use Squire\Models\Region as RegionModel; +use Squire\Models; use Squire\Rule; class Region extends Rule @@ -11,6 +11,6 @@ class Region extends Rule protected function getQueryBuilder() { - return RegionModel::query(); + return Models\Region::query(); } } \ No newline at end of file