Rename import/export, fix tests with parser

This commit is contained in:
Nabeel Shahzad
2018-03-21 19:12:36 -05:00
parent 276b93fc57
commit 9657e8bd40
9 changed files with 28 additions and 26 deletions

View File

@@ -11,10 +11,10 @@ use League\Csv\CharsetConverter;
use League\Csv\Writer;
/**
* Class ImporterService
* Class ExportService
* @package App\Services
*/
class ExporterService extends Service
class ExportService extends Service
{
protected $flightRepo;

View File

@@ -13,10 +13,10 @@ use App\Services\Import\SubfleetImporter;
use League\Csv\Reader;
/**
* Class ImporterService
* Class ImportService
* @package App\Services
*/
class ImporterService extends Service
class ImportService extends Service
{
protected $flightRepo;
@@ -24,9 +24,7 @@ class ImporterService extends Service
* ImporterService constructor.
* @param FlightRepository $flightRepo
*/
public function __construct(
FlightRepository $flightRepo
) {
public function __construct(FlightRepository $flightRepo) {
$this->flightRepo = $flightRepo;
}