From d81b46f141c15933557fdd438b9cd769724f39f7 Mon Sep 17 00:00:00 2001 From: Stig Lindqvist Date: Wed, 26 Oct 2011 19:10:19 +1300 Subject: [PATCH] MINOR Fixed some inline documentation --- code/controllers/ReportAdmin.php | 4 ++-- code/reports/Report.php | 2 +- code/search/SearchForm.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/controllers/ReportAdmin.php b/code/controllers/ReportAdmin.php index 2fb743cb..a1c26ae6 100644 --- a/code/controllers/ReportAdmin.php +++ b/code/controllers/ReportAdmin.php @@ -65,10 +65,10 @@ class ReportAdmin extends LeftAndMain { } /** - * Return a DataObjectSet of SS_Report subclasses + * Return a SS_List of SS_Report subclasses * that are available for use. * - * @return DataObjectSet + * @return SS_List */ public function Reports() { $output = new ArrayList(); diff --git a/code/reports/Report.php b/code/reports/Report.php index d4e5e91f..42ed52f9 100644 --- a/code/reports/Report.php +++ b/code/reports/Report.php @@ -353,7 +353,7 @@ class SS_Report extends ViewableData { * } * function sourceRecords($params, $sort, $limit) { * // Do some stuff - * // Return a DataObjectSet of actual objects. + * // Return a SS_List of actual objects. * } * * This object is used by the default implementation of sourceQuery() on SS_Report, to make use of diff --git a/code/search/SearchForm.php b/code/search/SearchForm.php index eb922fb8..d42b40db 100644 --- a/code/search/SearchForm.php +++ b/code/search/SearchForm.php @@ -94,7 +94,7 @@ class SearchForm extends Form { * * @param int $pageLength DEPRECATED 2.3 Use SearchForm->pageLength * @param array $data Request data as an associative array. Should contain at least a key 'Search' with all searched keywords. - * @return DataObjectSet + * @return SS_List */ public function getResults($pageLength = null, $data = null){ // legacy usage: $data was defaulting to $_REQUEST, parameter not passed in doc.silverstripe.org tutorials