mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 18:39:43 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -17,19 +17,8 @@ use Symfony\Component\Form\DataTransformerInterface;
|
||||
|
||||
class CustomFieldDataTransformer implements DataTransformerInterface
|
||||
{
|
||||
/**
|
||||
* @var \Chill\CustomFieldsBundle\Entity\CustomField
|
||||
*/
|
||||
private $customField;
|
||||
|
||||
private $customFieldDefinition;
|
||||
|
||||
public function __construct(
|
||||
CustomFieldInterface $customFieldDefinition,
|
||||
CustomField $customField
|
||||
) {
|
||||
$this->customFieldDefinition = $customFieldDefinition;
|
||||
$this->customField = $customField;
|
||||
public function __construct(private CustomFieldInterface $customFieldDefinition, private CustomField $customField)
|
||||
{
|
||||
}
|
||||
|
||||
public function reverseTransform($value)
|
||||
|
Reference in New Issue
Block a user