Skip to content

Commit

Permalink
Add PHPDoc for constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
or-benjamin authored Jun 4, 2024
1 parent 0ca3dbd commit 4ede9a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Validator/CronExpression.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ class CronExpression extends Constraint
{
public string $message = '{{ value }} is not a valid cron expression.';

/**
* @param string|null $message
* @param string[]|null $groups
* @param mixed $payload
* @param array $options
*/
public function __construct(
string $message = null,
?array $groups = null,
Expand Down

0 comments on commit 4ede9a4

Please sign in to comment.