From e5c55c9ab3cbceaf3f0789ddd53dc38f093e1d6f Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 4 Nov 2025 21:11:54 +0000 Subject: [PATCH] Fixed typo in the comment --- app/Http/Requests/UpdateAssetRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Requests/UpdateAssetRequest.php b/app/Http/Requests/UpdateAssetRequest.php index 60323c7d3b..912e00a420 100644 --- a/app/Http/Requests/UpdateAssetRequest.php +++ b/app/Http/Requests/UpdateAssetRequest.php @@ -34,7 +34,7 @@ class UpdateAssetRequest extends ImageUploadRequest parent::rules(), (new Asset)->getRules(), // This overwrites the rulesets that are set at the model level (via Watson) but are not necessarily required at the request level when doing a PATCH update. - // Confusingly, this skips the unique_undeleted validator at the model level (and therefor the UniqueUndeletedTrait), so we have to re-add those + // Confusingly, this skips the unique_undeleted validator at the model level (and therefore the UniqueUndeletedTrait), so we have to re-add those // rules here without the requiredness, since those values will already exist if you're updating an existing asset. [ 'model_id' => ['integer', 'exists:models,id,deleted_at,NULL', 'not_array'],