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:
authorFabian Becker <fabian.becker@uni-tuebingen.de>2013-09-04 03:33:25 +0400
committerFabian Becker <fabian.becker@uni-tuebingen.de>2013-09-04 03:33:25 +0400
commitf229dbc8cc1df2fbe90bdcd5a9e7762abc5fc8ae (patch)
tree217e4a245fe559cc39c599378d2965e1a3f1ff91 /plugins/CoreVisualizations
parente3bbc07eb21e8a2c1ea53d4ac55d94bf47214353 (diff)
Replace create_function calls with lambda functions.
This allows the IDE to pick up all code! refs #4113
Diffstat (limited to 'plugins/CoreVisualizations')
-rw-r--r--plugins/CoreVisualizations/JqplotDataGenerator/Chart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreVisualizations/JqplotDataGenerator/Chart.php b/plugins/CoreVisualizations/JqplotDataGenerator/Chart.php
index 128935c884..0f0cccb22c 100644
--- a/plugins/CoreVisualizations/JqplotDataGenerator/Chart.php
+++ b/plugins/CoreVisualizations/JqplotDataGenerator/Chart.php
@@ -63,7 +63,7 @@ class Chart
'internalLabel' => $label
);
- array_walk($data, create_function('&$v', '$v = (float)$v;'));
+ array_walk($data, function(&$v) { $v = (float)$v; });
$this->data[] = & $data;
}
}