🎨 CS Fixer

This commit is contained in:
Eric Espie
2025-11-18 14:52:10 +01:00
parent e08835c1a2
commit 11973d61ec
69 changed files with 219 additions and 194 deletions

View File

@@ -1,8 +1,10 @@
<?php
/*
* @copyright Copyright (C) 2010-2025 Combodo SAS
* @license http://opensource.org/licenses/AGPL-3.0
*/
namespace Combodo\iTop\Test\UnitTest\sources\Forms;
use Combodo\iTop\Forms\Block\AbstractFormBlock;
@@ -42,7 +44,7 @@ abstract class AbstractFormsTest extends ItopDataTestCase
$oBlock->AddInput($aIO['name'], $aIO['data_type']);
} else {
if (isset($aIO['converter_class'])) {
$oBlock->AddOutput($aIO['name'], $aIO['data_type'], new $aIO['converter_class']);
$oBlock->AddOutput($aIO['name'], $aIO['data_type'], new $aIO['converter_class']());
} else {
$oBlock->AddOutput($aIO['name'], $aIO['data_type']);
}
@@ -51,4 +53,4 @@ abstract class AbstractFormsTest extends ItopDataTestCase
return $oBlock;
}
}
}