phpstan en rector fixes

This commit is contained in:
2024-05-22 16:42:47 +02:00
parent 2895638f3b
commit 9ce1788a14
16 changed files with 75 additions and 107 deletions

View File

@@ -49,17 +49,13 @@ interface CustomFieldInterface
/**
* Return if the value can be considered as empty.
*
* @param mixed $value the value passed throug the deserialize function
*/
public function isEmptyValue(mixed $value, CustomField $customField);
/**
* Return a repsentation of the value of the CustomField.
*
* @param mixed $value the raw value, **not deserialized** (= as stored in the db)
* @param \Chill\CustomFieldsBundle\CustomField\CustomField $customField
*
* @return string an html representation of the value
*/
public function render(mixed $value, CustomField $customField, $documentType = 'html');