Enable the phpdocmissing return

This commit is contained in:
Laurent Destailleur 2024-01-10 12:45:23 +01:00
parent 971308ea08
commit a1aeb580a9
2 changed files with 2 additions and 2 deletions

View File

@ -405,7 +405,7 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
*/
public static function getWidgetsList($forcedirwidget = null)
{
global $conf, $langs, $db;
global $langs, $db;
$files = array();
$fullpath = array();
@ -521,6 +521,7 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
}
$j++;
}
return $widget;
}
}

View File

@ -31,7 +31,6 @@ parameters:
checkThisOnly: true
checkUnionTypes: false
checkExplicitMixedMissingReturn: false
checkPhpDocMissingReturn: false
reportMaybes: false
reportMaybesInMethodSignatures: false
reportStaticMethodSignatures: false