Set a default model value for airports on PIREP (#500)

* Set a default model value for airports on PIREP

* Fix airport icao reference

* Default airport models
This commit is contained in:
Nabeel S
2020-01-15 13:00:58 -05:00
committed by GitHub
parent de8046288b
commit 831b72fb2b
4 changed files with 36 additions and 31 deletions

View File

@@ -7,9 +7,6 @@ use App\Models\Airport;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
/**
* Class AirportRepository
*/
class AirportRepository extends Repository implements CacheableInterface
{
use CacheableRepository;
@@ -27,8 +24,8 @@ class AirportRepository extends Repository implements CacheableInterface
/**
* Return the list of airports formatted for a select box
*
* @param mixed $add_blank
* @param mixed $only_hubs
* @param bool $add_blank
* @param bool $only_hubs
*
* @return array
*/