Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
20f46adbc4
commit
9596d88b48
@@ -7,8 +7,6 @@ use App\Models\Fare;
|
||||
|
||||
/**
|
||||
* The flight importer can be imported or export. Operates on rows
|
||||
*
|
||||
* @package App\Services\Import
|
||||
*/
|
||||
class FareExporter extends ImportExport
|
||||
{
|
||||
@@ -24,13 +22,15 @@ class FareExporter extends ImportExport
|
||||
|
||||
/**
|
||||
* Import a flight, parse out the different rows
|
||||
*
|
||||
* @param Fare $fare
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function export($fare): array
|
||||
{
|
||||
$ret = [];
|
||||
foreach(self::$columns as $column) {
|
||||
foreach (self::$columns as $column) {
|
||||
$ret[$column] = $fare->{$column};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user