Skip to content

Commit b5da09c

Browse files
frooooooo7github-actions[bot]
authored andcommitted
PHP Linting (Pint)
1 parent b358b50 commit b5da09c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/Http/Resources/UserResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ private function formatPhoneNumber(): ?string
4040
}
4141
try {
4242
$phone = new PhoneNumber($this->phone_number, $this->phone_country);
43+
4344
return $phone->formatNational();
4445
} catch (\Throwable $e) {
4546
return $this->phone_number;
4647
}
4748
}
48-
4949
}

app/Services/GuestCourseRegistrationService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public function store(StoreGuestCourseRegistration $data): CourseRegistration
1313
$phone = new PhoneNumber($data->getPhone(), $data->getPhoneCountry());
1414
$dataArray = $data->toArray();
1515
$dataArray['phone'] = $phone->formatE164();
16+
1617
return CourseRegistration::create($dataArray);
1718
}
1819
}

0 commit comments

Comments
 (0)