Fix constructors does not need return value

This commit is contained in:
Laurent Destailleur
2018-09-16 10:22:23 +02:00
parent e90a60d4ee
commit d6ee00f2e7
43 changed files with 4 additions and 66 deletions

View File

@@ -32,7 +32,7 @@ class FormMargin
* @var DoliDB Database handler.
*/
public $db;
/**
* @var string Error code (or message)
*/
@@ -47,8 +47,6 @@ class FormMargin
function __construct($db)
{
$this->db = $db;
return 1;
}