diff options
author | Christian Raue <christian.raue@gmail.com> | 2014-07-23 22:27:56 +0400 |
---|---|---|
committer | Christian Raue <christian.raue@gmail.com> | 2014-07-23 22:27:56 +0400 |
commit | d9adcfe6169c6c10059a670f2ed984908eb4e105 (patch) | |
tree | 25cfca25851214c1b744a07e67e9c120adfd7513 /core/DataTable/Filter/ColumnCallbackAddColumn.php | |
parent | 2788e1dad22533f3e0dbddbdd16c51251c4e130a (diff) |
removed lots of trailing whitespace
Diffstat (limited to 'core/DataTable/Filter/ColumnCallbackAddColumn.php')
-rwxr-xr-x | core/DataTable/Filter/ColumnCallbackAddColumn.php | 8 |
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); }); |