function Comment Missing

This commit is contained in:
Frédéric FRANCE 2018-08-31 22:41:51 +02:00
parent c2e49c82f8
commit 02b74afe5f
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
4 changed files with 27 additions and 1 deletions

View File

@ -26,6 +26,11 @@ require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
class Login
{
/**
* Constructor of the class
*
* @param DoliDb $db Database handler
*/
function __construct()
{
global $db;

View File

@ -29,6 +29,11 @@ class TaskStats extends Stats
public $socid;
public $year;
/**
* Constructor of the class
*
* @param DoliDb $db Database handler
*/
function __construct($db)
{
global $conf, $user;

View File

@ -239,6 +239,13 @@ exit(0);
/**
* script cron usage
*
* @param string $path path
* @param string $script_file filename
* @return void
*/
function usage($path,$script_file)
{
global $conf;
@ -252,4 +259,3 @@ function usage($path,$script_file)
print "For example, to run pending tasks every 5mn, you can add this line:\n";
print "*/5 * * * * ".$path.$script_file." securitykey userlogin > ".DOL_DATA_ROOT."/".$script_file.".log\n";
}

View File

@ -91,6 +91,11 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
print "\n";
}
/**
* setUpBeforeClass
*
* @return void
*/
public static function setUpBeforeClass()
{
global $conf,$user,$langs,$db;
@ -131,6 +136,11 @@ class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
print __METHOD__."\n";
}
/**
* tearDownAfterClass
*
* @return void
*/
public static function tearDownAfterClass()
{
global $conf,$user,$langs,$db;