mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
Improve method name
This commit is contained in:
parent
71722b753d
commit
57d1c036ec
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue