From 57d1c036ecbf3d1b67c1c0e721641c769839d34e Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 25 Mar 2024 13:53:30 -0700 Subject: [PATCH] Improve method name --- app/Http/Requests/StoreAssetRequest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Requests/StoreAssetRequest.php b/app/Http/Requests/StoreAssetRequest.php index 70e7195c7d..8e7559673e 100644 --- a/app/Http/Requests/StoreAssetRequest.php +++ b/app/Http/Requests/StoreAssetRequest.php @@ -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 {