We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a165107 commit 2b61283Copy full SHA for 2b61283
app/helpers/MetaFormats/Validators/VString.php
@@ -19,8 +19,8 @@ class VString
19
* Constructs a string validator.
20
* @param int $minLength The minimal length of the string.
21
* @param int $maxLength The maximal length of the string, or -1 for unlimited length.
22
- * @param mixed $regex Regex pattern used for validation. Evaluated with the preg_match function with this argument
23
- * as the pattern.
+ * @param ?string $regex Regex pattern used for validation.
+ * Evaluated with the preg_match function with this argument as the pattern.
24
*/
25
public function __construct(int $minLength = 0, int $maxLength = -1, ?string $regex = null)
26
{
0 commit comments