some cleanup as-per phpstan

This commit is contained in:
Nabeel Shahzad
2018-04-23 08:46:28 -05:00
parent 2319a8c9f4
commit cff7e2c4da
14 changed files with 789 additions and 36 deletions

View File

@@ -24,6 +24,26 @@ class ImportExport
*/
public static $columns = [];
/**
* @param mixed $row
* @return array
*/
public function export($row): array
{
throw new \RuntimeException('export not implemented');
}
/**
* @param array $row
* @param mixed $index
* @return bool
* @throws \RuntimeException
*/
public function import(array $row, $index): bool
{
throw new \RuntimeException('import not implemented');
}
/**
* Get the airline from the ICAO. Create it if it doesn't exist
* @param $code