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:
authorsgiehl <stefan@piwik.org>2013-03-31 22:26:36 +0400
committersgiehl <stefan@piwik.org>2013-03-31 22:26:36 +0400
commit4b443205b34b7a99aaff87a4dea92dafe003c4f9 (patch)
treed2ebc3f9457debe2d00837c86c64801ec43e1481 /core/DataTable/Filter/CalculateEvolutionFilter.php
parent63c8f4f6ddef3d414595d3d264a3266e8b2998b3 (diff)
fixing some doc blocks
Diffstat (limited to 'core/DataTable/Filter/CalculateEvolutionFilter.php')
-rwxr-xr-xcore/DataTable/Filter/CalculateEvolutionFilter.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/core/DataTable/Filter/CalculateEvolutionFilter.php b/core/DataTable/Filter/CalculateEvolutionFilter.php
index 2cacaf2698..f4ad1ea480 100755
--- a/core/DataTable/Filter/CalculateEvolutionFilter.php
+++ b/core/DataTable/Filter/CalculateEvolutionFilter.php
@@ -36,9 +36,10 @@ class Piwik_DataTable_Filter_CalculateEvolutionFilter extends Piwik_DataTable_Fi
* Constructor.
*
* @param Piwik_DataTable $table The DataTable being filtered.
- * @param string $columnToAdd
- * @param string $columnToRead
- * @param int $quotientPrecision
+ * @param string $pastDataTable
+ * @param string $columnToAdd
+ * @param string $columnToRead
+ * @param int $quotientPrecision
*/
function __construct($table, $pastDataTable, $columnToAdd, $columnToRead, $quotientPrecision = 0)
{
@@ -127,10 +128,11 @@ class Piwik_DataTable_Filter_CalculateEvolutionFilter extends Piwik_DataTable_Fi
/**
* Calculates the evolution percentage for two arbitrary values.
*
- * @param numeric $currentValue The current metric value.
- * @param numeric $pastValue The value of the metric in the past. We measure the % change
- * from this value to $currentValue.
- * @param numeric $quotientPrecision The quotient precision to round to.
+ * @param float|int $currentValue The current metric value.
+ * @param float|int $pastValue The value of the metric in the past. We measure the % change
+ * from this value to $currentValue.
+ * @param float|int $quotientPrecision The quotient precision to round to.
+ *
* @return string The evolution percent 15%
*/
public static function calculate($currentValue, $pastValue, $quotientPrecision = 0)