Formatting
This commit is contained in:
parent
eb27c94637
commit
97baf98d04
@ -38,7 +38,7 @@ class Pirep extends Response
|
|||||||
$fuel_used = new Fuel($res['fuel_used'], config('phpvms.internal_units.fuel'));
|
$fuel_used = new Fuel($res['fuel_used'], config('phpvms.internal_units.fuel'));
|
||||||
$res['fuel_used'] = $fuel_used->getResponseUnits();
|
$res['fuel_used'] = $fuel_used->getResponseUnits();
|
||||||
|
|
||||||
if (! array_key_exists('planned_distance', $res)) {
|
if (!array_key_exists('planned_distance', $res)) {
|
||||||
$res['planned_distance'] = 0;
|
$res['planned_distance'] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user