From 1c83ed2ed1f8b5a6b89987aa70b7a579f83f3b3d Mon Sep 17 00:00:00 2001 From: diosmosis Date: Tue, 24 Dec 2019 05:14:51 -0800 Subject: [PATCH] Adding unit tests. --- core/DataTable/Renderer.php | 2 +- plugins/API/DataTable/MergeDataTables.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/DataTable/Renderer.php b/core/DataTable/Renderer.php index 8b69608edfc..d1940d041d0 100644 --- a/core/DataTable/Renderer.php +++ b/core/DataTable/Renderer.php @@ -124,7 +124,7 @@ public function __toString() /** * Set the DataTable to be rendered * - * @param DataTable|Simple|DataTable\Map $table table to be rendered + * @param DataTableInterface $table table to be rendered * @throws Exception */ public function setTable($table) diff --git a/plugins/API/DataTable/MergeDataTables.php b/plugins/API/DataTable/MergeDataTables.php index fff2036b0b3..fba6e58ba97 100644 --- a/plugins/API/DataTable/MergeDataTables.php +++ b/plugins/API/DataTable/MergeDataTables.php @@ -14,7 +14,7 @@ class MergeDataTables { /** - * Merge the columns of two data tables. + * Merge the columns of two data tables. Only takes into consideration the first row of each table. * Manipulates the first table. * * @param DataTable|DataTable\Map $table1 The table to eventually filter.