mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 08:14:59 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -28,18 +28,18 @@ use Symfony\Component\Validator\Constraints\LessThanOrEqual;
|
||||
*/
|
||||
class CustomFieldNumber extends AbstractCustomField
|
||||
{
|
||||
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 const POST_TEXT = 'post_text';
|
||||
final public const POST_TEXT = 'post_text';
|
||||
|
||||
public const SCALE = 'scale';
|
||||
final public const SCALE = 'scale';
|
||||
|
||||
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