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,6 +2,7 @@
namespace App\Widgets;
use App\Interfaces\Widget;
use App\Repositories\AcarsRepository;
use App\Services\GeoService;
@@ -9,11 +10,11 @@ use App\Services\GeoService;
* Show the live map in a view
* @package App\Widgets
*/
class LiveMap extends BaseWidget
class LiveMap extends Widget
{
protected $config = [
'height' => '800px',
'width' => '100%',
'width' => '100%',
];
/**
@@ -28,8 +29,8 @@ class LiveMap extends BaseWidget
$positions = $geoSvc->getFeatureForLiveFlights($pireps);
return view('widgets.live_map', [
'config' => $this->config,
'pireps' => $pireps,
'config' => $this->config,
'pireps' => $pireps,
'positions' => $positions,
]);
}