From 388e469fb9d1b16c1e05166c6821a257dd1a622b Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 4 Sep 2013 11:52:56 -0400
Subject: [PATCH] Style fixes.

---
 .../src/VuFind/Search/Solr/InjectSpellingListener.php | 11 ++++++++---
 module/VuFind/src/VuFind/Search/Solr/Results.php      |  7 +++++++
 module/VuFind/src/VuFind/Search/Summon/Params.php     |  2 +-
 3 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/module/VuFind/src/VuFind/Search/Solr/InjectSpellingListener.php b/module/VuFind/src/VuFind/Search/Solr/InjectSpellingListener.php
index 00fbfb267ce..fe2fb07527e 100644
--- a/module/VuFind/src/VuFind/Search/Solr/InjectSpellingListener.php
+++ b/module/VuFind/src/VuFind/Search/Solr/InjectSpellingListener.php
@@ -73,7 +73,8 @@ class InjectSpellingListener
     /**
      * Constructor.
      *
-     * @param BackendInterface $backend Backend
+     * @param BackendInterface $backend      Backend
+     * @param array            $dictionaries Spelling dictionaries to use.
      *
      * @return void
      */
@@ -92,8 +93,12 @@ class InjectSpellingListener
      */
     public function attach(SharedEventManagerInterface $manager)
     {
-        $manager->attach('VuFind\Search', Service::EVENT_PRE, array($this, 'onSearchPre'));
-        $manager->attach('VuFind\Search', Service::EVENT_POST, array($this, 'onSearchPost'));
+        $manager->attach(
+            'VuFind\Search', Service::EVENT_PRE, array($this, 'onSearchPre')
+        );
+        $manager->attach(
+            'VuFind\Search', Service::EVENT_POST, array($this, 'onSearchPost')
+        );
     }
 
     /**
diff --git a/module/VuFind/src/VuFind/Search/Solr/Results.php b/module/VuFind/src/VuFind/Search/Solr/Results.php
index 86b85677ab1..b0849c62b0b 100644
--- a/module/VuFind/src/VuFind/Search/Solr/Results.php
+++ b/module/VuFind/src/VuFind/Search/Solr/Results.php
@@ -132,6 +132,13 @@ class Results extends \VuFind\Search\Base\Results
         return false;
     }
 
+    /**
+     * Support method for fixBadQuery().
+     *
+     * @param QueryGroup $query Query to fix
+     *
+     * @return bool|QueryGroup  Fixed query, or false if no solution is found.
+     */
     protected function fixBadQueryGroup(QueryGroup $query)
     {
         $newQueries = array();
diff --git a/module/VuFind/src/VuFind/Search/Summon/Params.php b/module/VuFind/src/VuFind/Search/Summon/Params.php
index 4486a62907d..10a459d631b 100644
--- a/module/VuFind/src/VuFind/Search/Summon/Params.php
+++ b/module/VuFind/src/VuFind/Search/Summon/Params.php
@@ -198,7 +198,7 @@ class Params extends \VuFind\Search\Base\Params
     /**
      * Set up filters based on VuFind settings.
      *
-     * @param ParamBag $params     Parameter collection to update
+     * @param ParamBag $params Parameter collection to update
      *
      * @return void
      */
-- 
GitLab