add visibility

This commit is contained in:
Frédéric FRANCE
2019-02-26 23:15:28 +01:00
parent 8b4e920d5e
commit d608921f1e
10 changed files with 378 additions and 379 deletions

View File

@@ -76,7 +76,7 @@ class FormSms
*
* @param DoliDB $db Database handler
*/
function __construct($db)
public function __construct($db)
{
$this->db = $db;
@@ -92,7 +92,7 @@ class FormSms
$this->withbodyreadonly=0;
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**
* Show the form to input an sms.
*
@@ -100,7 +100,7 @@ class FormSms
* @param int $showform Show form tags and submit button (recommanded is to use with value 0)
* @return void
*/
function show_form($morecss = 'titlefield', $showform = 1)
public function show_form($morecss = 'titlefield', $showform = 1)
{
// phpcs:enable
global $conf, $langs, $user, $form;