forked from Wavyzz/dolibarr
Qual: Fix several phan & stan notices (#31308)
* Qual: Fix several phan & stan notices # Qual: Fix several phan & stan notices Several fixes in files while fixing UnknownClass notices * Qual: Update prepare_head PHPDoc return types # Qual: Update prepare_head PHPDoc return types Provide detailed array return types for prepare_head functions. * Fix new phan notice * Better loadLangs typing and fix call to loadLangs * Fix new issues (stats) * Other fixes of new issues * Qual: update phan baseline
This commit is contained in:
@@ -2076,7 +2076,7 @@ function phpinfo_array()
|
||||
/**
|
||||
* Return array head with list of tabs to view object information.
|
||||
*
|
||||
* @return array head array with tabs
|
||||
* @return array<array{0:string,1:string,2:string}> Array of tabs to show
|
||||
*/
|
||||
function company_admin_prepare_head()
|
||||
{
|
||||
@@ -2115,7 +2115,7 @@ function company_admin_prepare_head()
|
||||
/**
|
||||
* Return array head with list of tabs to view object information.
|
||||
*
|
||||
* @return array head array with tabs
|
||||
* @return array<array{0:string,1:string,2:string}> Array of tabs to show
|
||||
*/
|
||||
function email_admin_prepare_head()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user