Skip to content
Snippets Groups Projects
Commit 5aaafc3f authored by Raphaël Doursenaud's avatar Raphaël Doursenaud
Browse files

[Qual] OOP constructor

Using class name as constructor method is deprecated in PHP 7
parent 5710bcd3
No related branches found
No related tags found
No related merge requests found
......@@ -1590,7 +1590,7 @@ class ExpenseReportLine
*
* @param DoliDB $db Handlet database
*/
function ExpenseReportLine($db)
function __construct($db)
{
$this->db= $db;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment