qual: phpstan for htdocs/holiday/class/holiday.class.php (#28117)
htdocs/holiday/class/holiday.class.php 94 Property Holiday::$date_valid (int) does not accept default value of type string. htdocs/holiday/class/holiday.class.php 114 Property Holiday::$date_refuse (int) does not accept default value of type string. htdocs/holiday/class/holiday.class.php 124 Property Holiday::$date_cancel (int) does not accept default value of type string. htdocs/holiday/class/holiday.class.php 1603 Method Holiday::getConfCP() should return string but returns int. htdocs/holiday/class/holiday.class.php 1614 Method Holiday::getConfCP() should return string but returns int. htdocs/holiday/class/holiday.class.php 1797 Method Holiday::getCPforUser() should return float but returns null. htdocs/holiday/class/holiday.class.php 1800 Method Holiday::getCPforUser() should return float but returns null. Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
parent
18c023b983
commit
838f706e5e
1 changed files with 1 additions and 1 deletions
|
|
@ -1577,7 +1577,7 @@ class Holiday extends CommonObject
|
|||
*
|
||||
* @param string $name Name of parameter
|
||||
* @param string $createifnotfound 'stringvalue'=Create entry with string value if not found. For example 'YYYYMMDDHHMMSS'.
|
||||
* @return string|negative-int Value of parameter (example: 'YYYYMMDDHHMMSS') or < 0 if error
|
||||
* @return string|int<min,0> Value of parameter. Example: 'YYYYMMDDHHMMSS' or < 0 if error
|
||||
*/
|
||||
public function getConfCP($name, $createifnotfound = '')
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue