mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
UIBlock: Change $aAdditionalCSSClasses methods to match app. conventions (parameters should be arrays, not space separated string)
Note: This had to be fixed on all calls to this, hence the number of modifications.
This commit is contained in:
@@ -15,8 +15,8 @@ class UIContentBlockUIBlockFactory extends AbstractUIBlockFactory
|
||||
public const TWIG_TAG_NAME = 'UIContentBlock';
|
||||
public const UI_BLOCK_CLASS_NAME = UIContentBlock::class;
|
||||
|
||||
public static function MakeStandard(string $sId = null, string $sContainerClass = '')
|
||||
public static function MakeStandard(string $sId = null, array $aContainerClasses = [])
|
||||
{
|
||||
return new UIContentBlock($sId, $sContainerClass);
|
||||
return new UIContentBlock($sId, $aContainerClasses);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user