mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
fixes from a first test
This commit is contained in:
@@ -370,14 +370,8 @@ class CustomFieldChoice extends AbstractCustomField
|
||||
*
|
||||
* If the value had an 'allow_other' = true option, the returned value
|
||||
* **is not** the content of the _other field, but the `_other` string.
|
||||
*
|
||||
* @param array|string $value
|
||||
*
|
||||
* @throws LogicException if the case is not covered by this
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
private function guessValue(array|string $value)
|
||||
private function guessValue(array|string|null $value)
|
||||
{
|
||||
if (null === $value) {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user