mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
formatting
This commit is contained in:
parent
3f834cb88f
commit
e05af5216e
|
@ -35,11 +35,11 @@ class StoreAssetRequest extends ImageUploadRequest
|
||||||
parent::rules(),
|
parent::rules(),
|
||||||
);
|
);
|
||||||
|
|
||||||
// unsets unique check here, that check cannot run twice.
|
// unsets unique check here, that check cannot run twice.
|
||||||
$rules['asset_tags.*'] = $rules['asset_tag'];
|
$rules['asset_tags.*'] = $rules['asset_tag'];
|
||||||
unset($rules['asset_tag']);
|
unset($rules['asset_tag']);
|
||||||
$rules['serials.*'] = $rules['serial'];
|
$rules['serials.*'] = $rules['serial'];
|
||||||
unset($rules['serial']);
|
unset($rules['serial']);
|
||||||
|
|
||||||
return $rules;
|
return $rules;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue