Style fixes

This commit is contained in:
Nabeel Shahzad 2021-09-08 10:51:04 -04:00
parent 90d1708aab
commit 226ae6d109
3 changed files with 4 additions and 4 deletions

View File

@ -102,12 +102,12 @@ class PirepStatusChanged extends Notification implements ShouldQueue
$planned_distance = new Distance($pirep->planned_distance, $unit);
$pd = $planned_distance[$planned_distance->unit];
$fields['Distance'] .= '/'.$pd;
} catch (NonNumericValue | NonStringUnitName $e) {
} catch (NonNumericValue|NonStringUnitName $e) {
}
}
$fields['Distance'] .= ' '.$planned_distance->unit;
} catch (NonNumericValue | NonStringUnitName $e) {
} catch (NonNumericValue|NonStringUnitName $e) {
}
}

View File

@ -73,7 +73,7 @@ class PirepSubmitted extends Notification implements ShouldQueue
$pd = $planned_distance[$planned_distance->unit].' '.$planned_distance->unit;
$fields['Distance (Planned)'] = $pd;
} catch (NonNumericValue | NonStringUnitName $e) {
} catch (NonNumericValue|NonStringUnitName $e) {
}
}

View File

@ -206,7 +206,7 @@ class PirepService extends Service
/**
* Create a new PIREP with some given fields
*
* @param Pirep $pirep
* @param Pirep $pirep
* @param array PirepFieldValue[] $field_values
*
* @return Pirep