mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 05:44:58 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -33,18 +33,18 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||
*/
|
||||
class CustomFieldDate extends AbstractCustomField
|
||||
{
|
||||
public const DATE_FORMAT = DateTime::RFC3339;
|
||||
final public const DATE_FORMAT = DateTime::RFC3339;
|
||||
|
||||
public const FORMAT = 'format';
|
||||
final public const FORMAT = 'format';
|
||||
|
||||
public const MAX = 'max';
|
||||
final public const MAX = 'max';
|
||||
|
||||
/**
|
||||
* key for the minimal value of the field.
|
||||
*/
|
||||
public const MIN = 'min';
|
||||
final public const MIN = 'min';
|
||||
|
||||
public function __construct(private TwigEngine $templating, private TranslatableStringHelper $translatableStringHelper)
|
||||
public function __construct(private readonly TwigEngine $templating, private readonly TranslatableStringHelper $translatableStringHelper)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user