Fix phpcs

This commit is contained in:
Laurent Destailleur 2020-03-09 18:55:47 +01:00
parent e536ee87b8
commit 86f6736a18
2 changed files with 4 additions and 3 deletions

View File

@ -1246,7 +1246,6 @@ class DolGraph
$color = 'rgb('.$newcolor[0].', '.$newcolor[1].', '.$newcolor[2].', 0.9)';
$bordercolor = 'rgb('.$newcolor[0].', '.$newcolor[1].', '.$newcolor[2].')';
} else { // We do not use a 'group by'
$color = 'rgb('.$this->datacolor[$i][0].', '.$this->datacolor[$i][1].', '.$this->datacolor[$i][2].', 0.9)';
$bordercolor = $color;

View File

@ -1348,7 +1348,8 @@ class FormOther
* @param array $arrayofgroupby Array of groupby to fill
* @return string HTML string component
*/
public function selectGroupByField($object, $search_groupby, &$arrayofgroupby) {
public function selectGroupByField($object, $search_groupby, &$arrayofgroupby)
{
global $langs, $extrafields, $form;
$YYYY=substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1);
@ -1404,7 +1405,8 @@ class FormOther
* @param array $arrayofxaxis Array of groupby to fill
* @return string HTML string component
*/
public function selectXAxisField($object, $search_xaxis, &$arrayofxaxis) {
public function selectXAxisField($object, $search_xaxis, &$arrayofxaxis)
{
global $langs, $extrafields, $form;
$YYYY=substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1);