Squiz.Functions.FunctionDeclarationArgumentSpacing

This commit is contained in:
Frédéric FRANCE
2019-01-27 15:20:16 +01:00
parent a9da6a2d51
commit f0cdf300d1
541 changed files with 2338 additions and 2329 deletions

View File

@@ -309,7 +309,7 @@ class modMyModule extends DolibarrModules
* @param string $options Options when enabling module ('', 'noboxes')
* @return int 1 if OK, 0 if KO
*/
public function init($options='')
public function init($options = '')
{
$result=$this->_load_tables('/mymodule/sql/');
if ($result < 0) return -1; // Do not activate module if not allowed errors found on module SQL queries (the _load_table run sql with run_sql with error allowed parameter to 'default')