From 226ae6d1099fc013f44837eec84969d99537c6b7 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 8 Sep 2021 10:51:04 -0400 Subject: [PATCH] Style fixes --- app/Notifications/Messages/PirepStatusChanged.php | 4 ++-- app/Notifications/Messages/PirepSubmitted.php | 2 +- app/Services/PirepService.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Notifications/Messages/PirepStatusChanged.php b/app/Notifications/Messages/PirepStatusChanged.php index c7de8bd9..7a858e8c 100644 --- a/app/Notifications/Messages/PirepStatusChanged.php +++ b/app/Notifications/Messages/PirepStatusChanged.php @@ -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) { } } diff --git a/app/Notifications/Messages/PirepSubmitted.php b/app/Notifications/Messages/PirepSubmitted.php index a33f1163..2a7f942c 100644 --- a/app/Notifications/Messages/PirepSubmitted.php +++ b/app/Notifications/Messages/PirepSubmitted.php @@ -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) { } } diff --git a/app/Services/PirepService.php b/app/Services/PirepService.php index 33c8832b..ecc21505 100644 --- a/app/Services/PirepService.php +++ b/app/Services/PirepService.php @@ -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