Formfield : php-cs-fixer : too much space in concat

This commit is contained in:
2023-04-13 22:46:32 +02:00
parent 0e014c6829
commit 3490efe88b

View File

@@ -239,7 +239,7 @@ class Formfield
// If more than one title is set, the main label is unusable, so // If more than one title is set, the main label is unusable, so
// do not link it to the checkbox // do not link it to the checkbox
// If there is no label on the checkbox, this label must be set // If there is no label on the checkbox, this label must be set
$res .= " for='" . $this->formName . "_"; $res .= " for='" . $this->formName . "_";
$res .= htmlspecialchars($this->name, ENT_QUOTES); $res .= htmlspecialchars($this->name, ENT_QUOTES);
$res .= "'"; $res .= "'";
} }
@@ -487,7 +487,7 @@ class Formfield
// If more than one title is set, the main label is unusable, so // If more than one title is set, the main label is unusable, so
// do not link it to the radio // do not link it to the radio
// If there is no label on the checkbox, this label must be set // If there is no label on the checkbox, this label must be set
$res .= " for='" . $this->formName . "_"; $res .= " for='" . $this->formName . "_";
$res .= htmlspecialchars($this->name, ENT_QUOTES); $res .= htmlspecialchars($this->name, ENT_QUOTES);
$res .= "'"; $res .= "'";
} }
@@ -1045,7 +1045,7 @@ class Formfield
// If more than one title is set, the main label is unusable, so // If more than one title is set, the main label is unusable, so
// do not link it to the checkbox // do not link it to the checkbox
// If there is no label on the checkbox, this label must be set // If there is no label on the checkbox, this label must be set
$res .= " for='" . $this->formName . "_"; $res .= " for='" . $this->formName . "_";
$res .= htmlspecialchars($this->name, ENT_QUOTES); $res .= htmlspecialchars($this->name, ENT_QUOTES);
$res .= "'"; $res .= "'";
} }
@@ -1311,7 +1311,7 @@ class Formfield
// If more than one title is set, the main label is unusable, so // If more than one title is set, the main label is unusable, so
// do not link it to the radio // do not link it to the radio
// If there is no label on the checkbox, this label must be set // If there is no label on the checkbox, this label must be set
$res .= " for='" . $this->formName . "_"; $res .= " for='" . $this->formName . "_";
$res .= htmlspecialchars($this->name, ENT_QUOTES); $res .= htmlspecialchars($this->name, ENT_QUOTES);
$res .= "'"; $res .= "'";
} }
@@ -1690,7 +1690,7 @@ class Formfield
if ($this->titlewidth > 0) { if ($this->titlewidth > 0) {
$res .= " class='col-sm-$this->titlewidth col-form-label'"; $res .= " class='col-sm-$this->titlewidth col-form-label'";
} }
$res .= " for='" . $this->formName . "_"; $res .= " for='" . $this->formName . "_";
$res .= htmlspecialchars($this->name, ENT_QUOTES) . "'"; $res .= htmlspecialchars($this->name, ENT_QUOTES) . "'";
if (isset($this->hidden) && $this->hidden !== false) { if (isset($this->hidden) && $this->hidden !== false) {
$res .= " style='display:none'"; $res .= " style='display:none'";