From 92c9429e33123e3e754d486104e342f589b6a718 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Mon, 16 Feb 2015 10:10:18 -0500 Subject: [PATCH] More PHPDoc cleanup (eliminate redundant lines). --- .../VuFind/Autocomplete/AutocompleteInterface.php | 4 ---- module/VuFind/src/VuFind/Autocomplete/None.php | 4 ---- .../src/VuFind/Autocomplete/OCLCIdentities.php | 4 ---- module/VuFind/src/VuFind/Autocomplete/Solr.php | 12 ------------ module/VuFind/src/VuFind/Autocomplete/SolrCN.php | 4 ---- module/VuFind/src/VuFind/Autocomplete/Tag.php | 4 ---- module/VuFind/src/VuFind/Related/Editions.php | 2 -- module/VuFind/src/VuFind/Related/Similar.php | 2 -- 8 files changed, 36 deletions(-) diff --git a/module/VuFind/src/VuFind/Autocomplete/AutocompleteInterface.php b/module/VuFind/src/VuFind/Autocomplete/AutocompleteInterface.php index 4df2eb046fa..65c222bfda7 100644 --- a/module/VuFind/src/VuFind/Autocomplete/AutocompleteInterface.php +++ b/module/VuFind/src/VuFind/Autocomplete/AutocompleteInterface.php @@ -43,8 +43,6 @@ namespace VuFind\Autocomplete; interface AutocompleteInterface { /** - * getSuggestions - * * This method returns an array of strings matching the user's query for * display in the autocomplete box. * @@ -55,8 +53,6 @@ interface AutocompleteInterface public function getSuggestions($query); /** - * setConfig - * * Set parameters that affect the behavior of the autocomplete handler. * These values normally come from the search configuration file. * diff --git a/module/VuFind/src/VuFind/Autocomplete/None.php b/module/VuFind/src/VuFind/Autocomplete/None.php index 05985433e94..d4f1fc99159 100644 --- a/module/VuFind/src/VuFind/Autocomplete/None.php +++ b/module/VuFind/src/VuFind/Autocomplete/None.php @@ -42,8 +42,6 @@ namespace VuFind\Autocomplete; class None implements AutocompleteInterface { /** - * getSuggestions - * * This method returns an array of strings matching the user's query for * display in the autocomplete box. * @@ -58,8 +56,6 @@ class None implements AutocompleteInterface } /** - * setConfig - * * Set parameters that affect the behavior of the autocomplete handler. * These values normally come from the search configuration file. * diff --git a/module/VuFind/src/VuFind/Autocomplete/OCLCIdentities.php b/module/VuFind/src/VuFind/Autocomplete/OCLCIdentities.php index 5478424a736..ffeea422f58 100644 --- a/module/VuFind/src/VuFind/Autocomplete/OCLCIdentities.php +++ b/module/VuFind/src/VuFind/Autocomplete/OCLCIdentities.php @@ -49,8 +49,6 @@ class OCLCIdentities implements AutocompleteInterface protected $url = 'http://worldcat.org/identities/AutoSuggest'; /** - * getSuggestions - * * This method returns an array of strings matching the user's query for * display in the autocomplete box. * @@ -83,8 +81,6 @@ class OCLCIdentities implements AutocompleteInterface } /** - * setConfig - * * Set parameters that affect the behavior of the autocomplete handler. * These values normally come from the search configuration file. * diff --git a/module/VuFind/src/VuFind/Autocomplete/Solr.php b/module/VuFind/src/VuFind/Autocomplete/Solr.php index ec5b5c1e9c1..a6f19cca5e9 100644 --- a/module/VuFind/src/VuFind/Autocomplete/Solr.php +++ b/module/VuFind/src/VuFind/Autocomplete/Solr.php @@ -108,8 +108,6 @@ class Solr implements AutocompleteInterface } /** - * setConfig - * * Set parameters that affect the behavior of the autocomplete handler. * These values normally come from the search configuration file. * @@ -141,8 +139,6 @@ class Solr implements AutocompleteInterface } /** - * initSearchObject - * * Initialize the search object used for finding recommendations. * * @return void @@ -156,8 +152,6 @@ class Solr implements AutocompleteInterface } /** - * mungeQuery - * * Process the user query to make it suitable for a Solr query. * * @param string $query Incoming user query @@ -176,8 +170,6 @@ class Solr implements AutocompleteInterface } /** - * getSuggestions - * * This method returns an array of strings matching the user's query for * display in the autocomplete box. * @@ -291,8 +283,6 @@ class Solr implements AutocompleteInterface } /** - * setDisplayField - * * Set the display field list. Useful for child classes. * * @param array $new Display field list. @@ -305,8 +295,6 @@ class Solr implements AutocompleteInterface } /** - * setSortField - * * Set the sort field list. Useful for child classes. * * @param string $new Sort field list. diff --git a/module/VuFind/src/VuFind/Autocomplete/SolrCN.php b/module/VuFind/src/VuFind/Autocomplete/SolrCN.php index 48f7df2918d..8b0f96fe2fd 100644 --- a/module/VuFind/src/VuFind/Autocomplete/SolrCN.php +++ b/module/VuFind/src/VuFind/Autocomplete/SolrCN.php @@ -42,8 +42,6 @@ namespace VuFind\Autocomplete; class SolrCN extends Solr { /** - * setConfig - * * Set parameters that affect the behavior of the autocomplete handler. * These values normally come from the search configuration file. * @@ -58,8 +56,6 @@ class SolrCN extends Solr } /** - * mungeQuery - * * Process the user query to make it suitable for a Solr query. * * @param string $query Incoming user query diff --git a/module/VuFind/src/VuFind/Autocomplete/Tag.php b/module/VuFind/src/VuFind/Autocomplete/Tag.php index d2ff8cfe570..a22e8e8cfa7 100644 --- a/module/VuFind/src/VuFind/Autocomplete/Tag.php +++ b/module/VuFind/src/VuFind/Autocomplete/Tag.php @@ -43,8 +43,6 @@ class Tag implements AutocompleteInterface, \VuFind\Db\Table\DbTableAwareInterfa use \VuFind\Db\Table\DbTableAwareTrait; /** - * getSuggestions - * * This method returns an array of strings matching the user's query for * display in the autocomplete box. * @@ -66,8 +64,6 @@ class Tag implements AutocompleteInterface, \VuFind\Db\Table\DbTableAwareInterfa } /** - * setConfig - * * Set parameters that affect the behavior of the autocomplete handler. * These values normally come from the search configuration file. * diff --git a/module/VuFind/src/VuFind/Related/Editions.php b/module/VuFind/src/VuFind/Related/Editions.php index 703ecd0dd92..7ee8ae8ddf7 100644 --- a/module/VuFind/src/VuFind/Related/Editions.php +++ b/module/VuFind/src/VuFind/Related/Editions.php @@ -123,8 +123,6 @@ class Editions implements RelatedInterface } /** - * getResults - * * Get an array of Record Driver objects representing other editions of the one * passed to the constructor. * diff --git a/module/VuFind/src/VuFind/Related/Similar.php b/module/VuFind/src/VuFind/Related/Similar.php index 90aaa4f2771..2478352dcc8 100644 --- a/module/VuFind/src/VuFind/Related/Similar.php +++ b/module/VuFind/src/VuFind/Related/Similar.php @@ -77,8 +77,6 @@ class Similar implements RelatedInterface } /** - * getResults - * * Get an array of Record Driver objects representing items similar to the one * passed to the constructor. * -- GitLab