diff --git a/datamodels/2.x/itop-portal-base/portal/src/Helper/ApplicationHelper.php b/datamodels/2.x/itop-portal-base/portal/src/Helper/ApplicationHelper.php index cc4a5791e..8076fe4ba 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/Helper/ApplicationHelper.php +++ b/datamodels/2.x/itop-portal-base/portal/src/Helper/ApplicationHelper.php @@ -28,10 +28,6 @@ use Dict; use Exception; use IssueLog; use MetaModel; -use Silex\Application; -use Symfony\Component\Debug\ErrorHandler; -use Symfony\Component\Debug\ExceptionHandler; -use Symfony\Component\HttpKernel\Exception\HttpException; /** * Contains static methods to help loading / registering classes of the application. @@ -134,13 +130,14 @@ class ApplicationHelper * If not found, tries to find one from the closest parent class. * Else returns a default form based on zlist 'details' * - * @param array $aForms + * @param array $aForms * @param string $sClass Object class to find a form for - * @param string $sMode Form mode to find (view|edit|create) + * @param string $sMode Form mode to find (view|edit|create) * * @return array * * @throws \CoreException + * @throws \Exception */ public static function GetLoadedFormFromClass($aForms, $sClass, $sMode) {