mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 13:08:45 +02:00
🎨 CS Fixer
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* @copyright Copyright (C) 2010-2025 Combodo SARL
|
||||
* @license http://opensource.org/licenses/AGPL-3.0
|
||||
@@ -24,7 +25,7 @@ class ChoiceValueToLabelConverter extends AbstractConverter
|
||||
/** @inheritdoc */
|
||||
public function Convert(mixed $oData): ?RawFormat
|
||||
{
|
||||
if(is_null($oData) || is_array($oData)){
|
||||
if (is_null($oData) || is_array($oData)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -32,4 +33,4 @@ class ChoiceValueToLabelConverter extends AbstractConverter
|
||||
|
||||
return new RawFormat($aOptions[$oData]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user