Fix formatting and interfaces in nearly every file

This commit is contained in:
Nabeel Shahzad
2018-03-19 20:50:40 -05:00
parent 04c5b9e7bf
commit ccf56ddec1
331 changed files with 3282 additions and 2492 deletions

View File

@@ -2,12 +2,16 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Models\Airline;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;
class AirlineRepository extends BaseRepository implements CacheableInterface
/**
* Class AirlineRepository
* @package App\Repositories
*/
class AirlineRepository extends Repository implements CacheableInterface
{
use CacheableRepository;
@@ -25,12 +29,12 @@ class AirlineRepository extends BaseRepository implements CacheableInterface
* Return the list of airline formatted for a select box
* @return array
*/
public function selectBoxList($add_blank=false): array
public function selectBoxList($add_blank = false): array
{
$retval = [];
$items = $this->all();
if($add_blank) {
if ($add_blank) {
$retval[''] = '';
}