2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/projet
MDW e64e57716c Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type
# Fix fatal (PHP8.X) type issue with abs, and amend dol_eval return type

I got the following message:
`Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in D:\mdeweerd\workspace\dolibarr\htdocs\projet\list.php on line 233`

I examined the phan report and there was no mention of this because dol_eval was
said to return mixed.

In order to detect such cases, I amended the dol_eval return type to ensure to find
most of the locations where a cast is needed.
2024-04-02 22:52:52 +02:00
..
2024-04-02 21:29:21 +02:00
2024-03-31 14:49:43 +02:00
2024-03-22 00:37:56 +01:00
2024-03-22 00:37:56 +01:00
2024-03-22 00:37:56 +01:00
2024-03-22 00:37:56 +01:00
2024-03-22 00:37:56 +01:00
2024-03-22 00:37:56 +01:00