mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-19 02:17:45 +00:00
Rector changes and immplementations of required methods
This commit is contained in:
@@ -39,7 +39,7 @@ class JsonCustomFieldToArrayTransformer implements DataTransformerInterface
|
||||
$this->customField = $customFieldsByLabel;
|
||||
}
|
||||
|
||||
public function reverseTransform($customFieldsArray)
|
||||
public function reverseTransform($customFieldsArray): mixed
|
||||
{
|
||||
/*
|
||||
echo "<br> - - 7 - <br>";
|
||||
@@ -101,7 +101,7 @@ class JsonCustomFieldToArrayTransformer implements DataTransformerInterface
|
||||
return json_encode($customFieldsArrayRet, \JSON_THROW_ON_ERROR);
|
||||
}
|
||||
|
||||
public function transform($customFieldsJSON)
|
||||
public function transform($customFieldsJSON): mixed
|
||||
{
|
||||
echo $customFieldsJSON;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user