Skip to content

Commit b76133c

Browse files
committed
docs: fix incorrect @throws
1 parent 56c7073 commit b76133c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Validation/Validation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ public function hasRule(string $field): bool
499499
*
500500
* @param string $group Group.
501501
*
502-
* @throws InvalidArgumentException If group not found.
502+
* @throws ValidationException If group not found.
503503
*
504504
* @return string[] Rule group.
505505
*/
@@ -521,7 +521,7 @@ public function getRuleGroup(string $group): array
521521
*
522522
* @param string $group Group.
523523
*
524-
* @throws InvalidArgumentException If group not found.
524+
* @throws ValidationException If group not found.
525525
*/
526526
public function setRuleGroup(string $group)
527527
{

0 commit comments

Comments
 (0)