Skip to content

Commit d5de91f

Browse files
committed
refactor: update the message on exist rule validation- form requests
1 parent 7d1866b commit d5de91f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Extracting/ParsesValidationRules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ protected function processRule($rule, $ruleArguments, array &$parameterData, arr
549549
$parameterData['nullable'] = true;
550550
break;
551551
case 'exists':
552-
$parameterData['description'] .= " The <code>{$ruleArguments[1]}</code> of an existing record in the {$ruleArguments[0]} table.";
552+
$parameterData['description'] .= " The <code>{$ruleArguments[1]}</code> value must exist.";
553553
break;
554554
default:
555555
// Other rules not supported

0 commit comments

Comments
 (0)