From 1f6ba1809dcaac84ba7bcbb88f457d0c7eba34c3 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 12 Feb 2014 17:27:10 +1300 Subject: [PATCH] MDL-44104 admin, grade: fixed use of @params --- admin/tool/xmldb/actions/XMLDBAction.class.php | 2 +- grade/edit/outcome/export.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/tool/xmldb/actions/XMLDBAction.class.php b/admin/tool/xmldb/actions/XMLDBAction.class.php index 393d774cc70..19e4e9899ee 100644 --- a/admin/tool/xmldb/actions/XMLDBAction.class.php +++ b/admin/tool/xmldb/actions/XMLDBAction.class.php @@ -121,7 +121,7 @@ class XMLDBAction { /** * loadStrings method, loads the required strings specified in the * array parameter - * @params array $strings + * @param string[] $strings */ function loadStrings($strings) { // Load some commonly used strings diff --git a/grade/edit/outcome/export.php b/grade/edit/outcome/export.php index 61a2bdd3c39..395b072971e 100644 --- a/grade/edit/outcome/export.php +++ b/grade/edit/outcome/export.php @@ -84,9 +84,9 @@ foreach($outcomes as $outcome) { * Formats and returns a line of data, in CSV format. This code * is from http://au2.php.net/manual/en/function.fputcsv.php#77866 * - * @params array-of-string $fields data to be exported - * @params char $delimiter char to be used to separate fields - * @params char $enclosure char used to enclose strings that contains newlines, spaces, tabs or the delimiter char itself + * @param string[] $fields data to be exported + * @param string $delimiter char to be used to separate fields + * @param string $enclosure char used to enclose strings that contains newlines, spaces, tabs or the delimiter char itself * @returns string one line of csv data */ function format_csv($fields = array(), $delimiter = ';', $enclosure = '"') {