mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix PhanPluginUnknownFunctionParamType
# Fix PhanPluginUnknownFunctionParamType PHPdoc for $object was incorrect. Also updated the return type and the parameter typing for $head in complete_head_from_modules
This commit is contained in:
parent
996f915192
commit
09a62365eb
|
|
@ -10318,8 +10318,8 @@ function getLanguageCodeFromCountryCode($countrycode)
|
|||
* @param Conf $conf Object conf
|
||||
* @param Translate $langs Object langs
|
||||
* @param object|null $object Object object
|
||||
* @param array $head Object head
|
||||
* @param int $h New position to fill
|
||||
* @param array<array<int,string>> $head List of head tabs (updated by this function)
|
||||
* @param int $h New position to fill (updated by this function)
|
||||
* @param string $type Value for object where objectvalue can be
|
||||
* 'thirdparty' to add a tab in third party view
|
||||
* 'intervention' to add a tab in intervention view
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
/* Copyright (C) ---Put here your own copyright and developer email---
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -114,7 +115,7 @@ function conferenceorboothPrepareHead($object, $with_project = 0)
|
|||
/**
|
||||
* Prepare array of tabs for ConferenceOrBooth Project tab
|
||||
*
|
||||
* @param $object Project Project
|
||||
* @param Project $object Project
|
||||
* @return array
|
||||
*/
|
||||
function conferenceorboothProjectPrepareHead($object)
|
||||
|
|
@ -190,7 +191,7 @@ function conferenceorboothProjectPrepareHead($object)
|
|||
* Prepare array of tabs for ConferenceOrBoothAttendees
|
||||
*
|
||||
* @param ConferenceOrBoothAttendee $object ConferenceOrBoothAttendee
|
||||
* @return array Array of tabs
|
||||
* @return array<array<int,string>> Array of tabs
|
||||
*/
|
||||
function conferenceorboothAttendeePrepareHead($object)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user