Fix PhanTypeMismatchDefault by removing defaults ($object is required)

This commit is contained in:
MDW 2024-03-15 13:34:27 +01:00
parent 9a79e6b6d0
commit 972028bb95
No known key found for this signature in database

View file

@ -2,6 +2,7 @@
/* Copyright (C) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
* 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
@ -135,7 +136,7 @@ class mod_commande_fournisseur_muguet extends ModeleNumRefSuppliersOrders
* @param CommandeFournisseur $object Object
* @return string Value if OK, 0 if KO
*/
public function getNextValue($objsoc = '', $object = '')
public function getNextValue($objsoc, $object)
{
global $db, $conf;