getResponseUnits(); $fuel = !empty($res['fuel']) ? $res['fuel'] : 0; $fuel = new Fuel($fuel, config('phpvms.internal_units.fuel')); $res['fuel'] = $fuel->getResponseUnits(); return $res; } }