Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ui/include/classes/html/CColor.php')
-rw-r--r--ui/include/classes/html/CColor.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/include/classes/html/CColor.php b/ui/include/classes/html/CColor.php
index 178454953a7..f991288ffe7 100644
--- a/ui/include/classes/html/CColor.php
+++ b/ui/include/classes/html/CColor.php
@@ -64,11 +64,9 @@ class CColor extends CDiv {
/**
* Enable default color button.
-
- * @return CColor
*/
- public function enableUseDefault(): self {
- $this->use_default = true;
+ public function enableUseDefault($use_default = true): self {
+ $this->use_default = $use_default;
return $this;
}