Improve method name

This commit is contained in:
Marcus Moore 2024-03-25 13:53:30 -07:00
parent 71722b753d
commit 57d1c036ec
No known key found for this signature in database

View file

@ -29,7 +29,7 @@ class StoreAssetRequest extends ImageUploadRequest
? Company::getIdForCurrentUser($this->company_id)
: $this->company_id;
$this->formatLastAuditDate();
$this->parseLastAuditDate();
$this->merge([
'asset_tag' => $this->asset_tag ?? Asset::autoincrement_asset(),
@ -53,7 +53,7 @@ class StoreAssetRequest extends ImageUploadRequest
return $rules;
}
private function formatLastAuditDate(): void
private function parseLastAuditDate(): void
{
if ($this->input('last_audit_date')) {
try {