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/DataTable/Filter/ColumnCallbackAddColumn.php')
-rwxr-xr-xcore/DataTable/Filter/ColumnCallbackAddColumn.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/DataTable/Filter/ColumnCallbackAddColumn.php b/core/DataTable/Filter/ColumnCallbackAddColumn.php
index 0084fd076b..27746c4f28 100755
--- a/core/DataTable/Filter/ColumnCallbackAddColumn.php
+++ b/core/DataTable/Filter/ColumnCallbackAddColumn.php
@@ -13,13 +13,13 @@ use Piwik\DataTable\BaseFilter;
/**
* Adds a new column to every row of a {@link DataTable} based on the result of callback.
- *
+ *
* **Basic usage example**
- *
+ *
* $callback = function ($visits, $timeSpent) {
* return round($timeSpent / $visits, 2);
* };
- *
+ *
* $dataTable->filter('ColumnCallbackAddColumn', array(array('nb_visits', 'sum_time_spent'), 'avg_time_on_site', $callback));
*
* @api
@@ -93,7 +93,7 @@ class ColumnCallbackAddColumn extends BaseFilter
}
$parameters = array_merge($columnValues, $functionParams);
-
+
return call_user_func_array($functionToApply, $parameters);
});