[Qual] OOP constructor

Using class name as constructor method is deprecated in PHP 7
This commit is contained in:
Raphaël Doursenaud 2015-12-10 16:37:37 +01:00
parent 5710bcd38a
commit 5aaafc3f8a

View File

@ -1590,7 +1590,7 @@ class ExpenseReportLine
* *
* @param DoliDB $db Handlet database * @param DoliDB $db Handlet database
*/ */
function ExpenseReportLine($db) function __construct($db)
{ {
$this->db= $db; $this->db= $db;
} }