From 128247a86cb108096e994e4b1b94af61f3425087 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Mon, 5 Dec 2016 16:37:44 -0500 Subject: [PATCH] Fix PhpDocumentor errors. --- .../src/VuFind/ILS/Driver/KohaILSDI.php | 19 +++++++++---------- module/VuFind/src/VuFind/Mailer/Mailer.php | 2 +- .../VuFind/View/Helper/Root/AlphaBrowse.php | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php index 1f8895cebfe..dbbc9389dbd 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php +++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php @@ -857,16 +857,15 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements /** * This method queries the ILS for new items * - * Comment for $fundID: (use a value returned by getFunds, or exclude for no - * limit); note that ?fund? may be a misnomer ? if funds are not an - * appropriate way to limit your new item results, you can return a different - * set of values from getFunds. The important thing is that this parameter - * supports an ID returned by getFunds, whatever that may mean. - * - * @param unknown $page - page number of results to retrieve (starts at 1) - * @param unknown $limit - the size of each page of results to retrieve - * @param unknown $daysOld - the maxi age of records to retrieve in days -max 30 - * @param string $fundId - optional fund ID to use for limiting results + * @param int $page Page number of results to retrieve (counting starts at 1) + * @param int $limit The size of each page of results to retrieve + * @param int $daysOld The maximum age of records to retrieve in days (max. 30) + * @param int $fundId optional fund ID to use for limiting results (use a value + * returned by getFunds, or exclude for no limit); note that "fund" may be a + * misnomer - if funds are not an appropriate way to limit your new item + * results, you can return a different set of values from getFunds. The + * important thing is that this parameter supports an ID returned by getFunds, + * whatever that may mean. * * @return array provides a count and the results of new items. */ diff --git a/module/VuFind/src/VuFind/Mailer/Mailer.php b/module/VuFind/src/VuFind/Mailer/Mailer.php index d149369a801..333250be1ec 100644 --- a/module/VuFind/src/VuFind/Mailer/Mailer.php +++ b/module/VuFind/src/VuFind/Mailer/Mailer.php @@ -267,7 +267,7 @@ class Mailer implements \VuFind\I18n\Translator\TranslatorAwareInterface /** * Set the maximum number of email recipients * - * @param type $max Maximum + * @param int $max Maximum * * @return void */ diff --git a/module/VuFind/src/VuFind/View/Helper/Root/AlphaBrowse.php b/module/VuFind/src/VuFind/View/Helper/Root/AlphaBrowse.php index d0f83d6453a..abe8d1ad492 100644 --- a/module/VuFind/src/VuFind/View/Helper/Root/AlphaBrowse.php +++ b/module/VuFind/src/VuFind/View/Helper/Root/AlphaBrowse.php @@ -90,7 +90,7 @@ class AlphaBrowse extends \Zend\View\Helper\AbstractHelper /** * Escape a string for inclusion in a Solr query. * - * @param type $str String to escape + * @param string $str String to escape * * @return string */ -- GitLab