Fix phpcs

This commit is contained in:
Laurent Destailleur 2019-08-15 19:03:30 +02:00
parent 056626b8e3
commit 59625dceb5

View File

@ -113,7 +113,7 @@ function dolKeepOnlyPhpCode($str)
* @return boolean True if OK * @return boolean True if OK
* @see dolWebsiteOutput() for function used to replace content in a web server context * @see dolWebsiteOutput() for function used to replace content in a web server context
*/ */
function dolWebsiteReplacementOfLinks($website, $content, $removephppart = 0, $contenttype='html', $containerid='') function dolWebsiteReplacementOfLinks($website, $content, $removephppart = 0, $contenttype = 'html', $containerid = '')
{ {
$nbrep = 0; $nbrep = 0;
@ -201,7 +201,7 @@ function dolWebsiteReplacementOfLinks($website, $content, $removephppart = 0, $c
* @return void * @return void
* @see dolWebsiteReplacementOfLinks() for function used to replace content in the backoffice context. * @see dolWebsiteReplacementOfLinks() for function used to replace content in the backoffice context.
*/ */
function dolWebsiteOutput($content, $contenttype='html', $containerid='') function dolWebsiteOutput($content, $contenttype = 'html', $containerid = '')
{ {
global $db, $langs, $conf, $user; global $db, $langs, $conf, $user;
global $dolibarr_main_url_root, $dolibarr_main_data_root; global $dolibarr_main_url_root, $dolibarr_main_data_root;