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/AddConstantMetadata.php')
-rw-r--r--core/DataTable/Filter/AddConstantMetadata.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/core/DataTable/Filter/AddConstantMetadata.php b/core/DataTable/Filter/AddConstantMetadata.php
index 4bff5aa813..f3682f5b10 100644
--- a/core/DataTable/Filter/AddConstantMetadata.php
+++ b/core/DataTable/Filter/AddConstantMetadata.php
@@ -8,6 +8,10 @@
* @category Piwik
* @package Piwik
*/
+namespace Piwik\DataTable\Filter;
+
+use Piwik\DataTable;
+use Piwik\DataTable\Filter;
/**
* Add a new metadata column to the table.
@@ -16,14 +20,14 @@
* This value is fixed for all icons so we simply add the same value for all rows.
*
* @package Piwik
- * @subpackage Piwik_DataTable
+ * @subpackage DataTable
*/
-class Piwik_DataTable_Filter_AddConstantMetadata extends Piwik_DataTable_Filter
+class AddConstantMetadata extends Filter
{
/**
* Creates a new filter and sets all required parameters
*
- * @param Piwik_DataTable $table
+ * @param DataTable $table
* @param string $metadataName
* @param mixed $metadataValue
*/
@@ -37,7 +41,7 @@ class Piwik_DataTable_Filter_AddConstantMetadata extends Piwik_DataTable_Filter
/**
* Filters the given data table
*
- * @param Piwik_DataTable $table
+ * @param DataTable $table
*/
public function filter($table)
{