@@ -486,7 +486,7 @@ discard block |
||
486 | 486 | /** |
487 | 487 | * Check if the field is one of certain types. |
488 | 488 | * |
489 | - * @param string|array $types |
|
489 | + * @param string[] $types |
|
490 | 490 | * @return bool |
491 | 491 | */ |
492 | 492 | protected function isType($types) |
@@ -577,7 +577,7 @@ discard block |
||
577 | 577 | * |
578 | 578 | * @param string $rule |
579 | 579 | * @param string $parameter |
580 | - * @return array |
|
580 | + * @return string |
|
581 | 581 | */ |
582 | 582 | protected function parseParameters($rule, $parameter) |
583 | 583 | { |