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.
2 parents c35dd45 + d994695 commit c1728faCopy full SHA for c1728fa
src/Validator/Constraints/IsTrue.php
@@ -15,7 +15,7 @@ class IsTrue extends Constraint
15
16
public $invalidHostMessage = 'The captcha was not resolved on the right domain.';
17
18
- public function __construct(array $options = null, string $message = null, string $invalidHostMessage = null, array $groups = null, $payload = null)
+ public function __construct(?array $options = null, ?string $message = null, ?string $invalidHostMessage = null, ?array $groups = null, mixed $payload = null)
19
{
20
parent::__construct($options ?? [], $groups, $payload);
21
0 commit comments