Skip to content

Commit e5c55c9

Browse files
committed
Fixed typo in the comment
1 parent 547b3df commit e5c55c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Requests/UpdateAssetRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function rules()
3434
parent::rules(),
3535
(new Asset)->getRules(),
3636
// 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.
37-
// Confusingly, this skips the unique_undeleted validator at the model level (and therefor the UniqueUndeletedTrait), so we have to re-add those
37+
// Confusingly, this skips the unique_undeleted validator at the model level (and therefore the UniqueUndeletedTrait), so we have to re-add those
3838
// rules here without the requiredness, since those values will already exist if you're updating an existing asset.
3939
[
4040
'model_id' => ['integer', 'exists:models,id,deleted_at,NULL', 'not_array'],

0 commit comments

Comments
 (0)