mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
PHP CS-Fixer
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace Combodo\iTop\Application\UI\Base\Layout\DashletPanel;
|
||||
|
||||
|
||||
use Combodo\iTop\Service\Dashboard\DashletService;
|
||||
|
||||
class DashletPanelFactory {
|
||||
class DashletPanelFactory
|
||||
{
|
||||
public static function MakeForDashboardEditor(string $sId = null): DashletPanel
|
||||
{
|
||||
$oDashletPanel = new DashletPanel($sId);
|
||||
@@ -15,16 +15,16 @@ class DashletPanelFactory {
|
||||
foreach ($aAvailableDashlets as $sDashletClass => $aDashletInformation) {
|
||||
$oDashletEntry = new DashletEntry($sDashletClass, $aDashletInformation['label'], $aDashletInformation['description'], $aDashletInformation['icon']);
|
||||
|
||||
if(isset($aDashletInformation['min_width'])) {
|
||||
if (isset($aDashletInformation['min_width'])) {
|
||||
$oDashletEntry->SetDashletMinWidth($aDashletInformation['min_width']);
|
||||
}
|
||||
if(isset($aDashletInformation['min_height'])) {
|
||||
if (isset($aDashletInformation['min_height'])) {
|
||||
$oDashletEntry->SetDashletMinHeight($aDashletInformation['min_height']);
|
||||
}
|
||||
if(isset($aDashletInformation['preferred_width'])) {
|
||||
if (isset($aDashletInformation['preferred_width'])) {
|
||||
$oDashletEntry->SetDashletPreferredWidth($aDashletInformation['preferred_width']);
|
||||
}
|
||||
if(isset($aDashletInformation['preferred_height'])) {
|
||||
if (isset($aDashletInformation['preferred_height'])) {
|
||||
$oDashletEntry->SetDashletPreferredHeight($aDashletInformation['preferred_height']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user