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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Plugin/Visualization.php')
-rw-r--r--core/Plugin/Visualization.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Plugin/Visualization.php b/core/Plugin/Visualization.php
index 6e6b4802a0..ceccc4ab13 100644
--- a/core/Plugin/Visualization.php
+++ b/core/Plugin/Visualization.php
@@ -508,7 +508,7 @@ class Visualization extends ViewDataTable
foreach ($this->config->clientSideProperties as $name) {
if (property_exists($this->requestConfig, $name)) {
$result[$name] = $this->getIntIfValueIsBool($this->requestConfig->$name);
- } else if (property_exists($this->config, $name)) {
+ } elseif (property_exists($this->config, $name)) {
$result[$name] = $this->getIntIfValueIsBool($this->config->$name);
}
}
@@ -562,7 +562,7 @@ class Visualization extends ViewDataTable
if (property_exists($this->requestConfig, $name)) {
$valueToConvert = $this->requestConfig->$name;
- } else if (property_exists($this->config, $name)) {
+ } elseif (property_exists($this->config, $name)) {
$valueToConvert = $this->config->$name;
}
@@ -719,7 +719,7 @@ class Visualization extends ViewDataTable
/**
* @internal
- *
+ *
* @return array
*/
public function buildApiRequestArray()