Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Jan 10, 2021
1 parent 5c9ae37 commit 776aa56
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions packages/airlines/src/Rules/Airline.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Squire\Rules;

use Squire\Models\Airline as AirlineModel;
use Squire\Models;
use Squire\Rule;

class Airline extends Rule
Expand All @@ -11,6 +11,6 @@ class Airline extends Rule

protected function getQueryBuilder()
{
return AirlineModel::query();
return Models\Airline::query();
}
}
4 changes: 2 additions & 2 deletions packages/airports/src/Rules/Airport.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Squire\Rules;

use Squire\Models\Airport as AirportModel;
use Squire\Models;
use Squire\Rule;

class Airport extends Rule
Expand All @@ -11,6 +11,6 @@ class Airport extends Rule

protected function getQueryBuilder()
{
return AirportModel::query();
return Models\Airport::query();
}
}
4 changes: 2 additions & 2 deletions packages/continents/src/Rules/Continent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Squire\Rules;

use Squire\Models\Continent as ContinentModel;
use Squire\Models;
use Squire\Rule;

class Continent extends Rule
Expand All @@ -11,6 +11,6 @@ class Continent extends Rule

protected function getQueryBuilder()
{
return ContinentModel::query();
return Models\Continent::query();
}
}
4 changes: 2 additions & 2 deletions packages/countries/src/Rules/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Squire\Rules;

use Squire\Models\Country as CountryModel;
use Squire\Models;
use Squire\Rule;

class Country extends Rule
Expand All @@ -11,6 +11,6 @@ class Country extends Rule

protected function getQueryBuilder()
{
return CountryModel::query();
return Models\Country::query();
}
}
4 changes: 2 additions & 2 deletions packages/currencies/src/Rules/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Squire\Rules;

use Squire\Models\Currency as CurrencyModel;
use Squire\Models;
use Squire\Rule;

class Currency extends Rule
Expand All @@ -11,6 +11,6 @@ class Currency extends Rule

protected function getQueryBuilder()
{
return CurrencyModel::query();
return Models\Currency::query();
}
}
4 changes: 2 additions & 2 deletions packages/gb-counties/src/Rules/GbCounty.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Squire\Rules;

use Squire\Models\GbCounty as GbCountyModel;
use Squire\Models;
use Squire\Rule;

class GbCounty extends Rule
Expand All @@ -11,6 +11,6 @@ class GbCounty extends Rule

protected function getQueryBuilder()
{
return GbCountyModel::query();
return Models\GbCounty::query();
}
}
4 changes: 2 additions & 2 deletions packages/regions/src/Rules/Region.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Squire\Rules;

use Squire\Models\Region as RegionModel;
use Squire\Models;
use Squire\Rule;

class Region extends Rule
Expand All @@ -11,6 +11,6 @@ class Region extends Rule

protected function getQueryBuilder()
{
return RegionModel::query();
return Models\Region::query();
}
}

0 comments on commit 776aa56

Please sign in to comment.