From 0769e1d1e31cdfb477564bdcc8eb32985224cff7 Mon Sep 17 00:00:00 2001 From: Lainow Date: Wed, 12 Jun 2024 10:32:19 +0200 Subject: [PATCH] Fix lint --- inc/model.class.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/inc/model.class.php b/inc/model.class.php index 71801b8..25ed588 100644 --- a/inc/model.class.php +++ b/inc/model.class.php @@ -826,30 +826,30 @@ public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $ if ($item->getType() == __CLASS__ && $item instanceof self) { switch ($tabnum) { case 1: - $item->showAdvancedForm($item->getID()); /** @phpstan-ignore-line */ + $item->showAdvancedForm($item->getID()); break; case 3: $options['confirm'] = 'creation'; - $options['models_id'] = $item->fields['id']; /** @phpstan-ignore-line */ + $options['models_id'] = $item->fields['id']; $options['add_form'] = true; $options['submit'] = __('Load this file', 'datainjection'); PluginDatainjectionClientInjection::showUploadFileForm($options); break; case 4: - PluginDatainjectionMapping::showFormMappings($item);/** @phpstan-ignore-line */ + PluginDatainjectionMapping::showFormMappings($item); break; case 5: - if ($item->fields['step'] > self::MAPPING_STEP) { /** @phpstan-ignore-line */ - PluginDatainjectionInfo::showFormInfos($item);/** @phpstan-ignore-line */ + if ($item->fields['step'] > self::MAPPING_STEP) { + PluginDatainjectionInfo::showFormInfos($item); } break; case 6: - if ($item->fields['step'] > self::MAPPING_STEP) { /** @phpstan-ignore-line */ - $item->showValidationForm(); /** @phpstan-ignore-line */ + if ($item->fields['step'] > self::MAPPING_STEP) { + $item->showValidationForm(); } break; }