From c0a4b98d20f429d8c508775874b4ed955d72c724 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Thu, 13 Nov 2014 15:00:45 -0500
Subject: [PATCH] Style fixes.

---
 module/VuFind/src/VuFind/Auth/AbstractBase.php | 8 ++++----
 module/VuFind/src/VuFind/Auth/Database.php     | 2 +-
 themes/bootstrap3/js/advanced_search_eds.js    | 4 +++-
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/module/VuFind/src/VuFind/Auth/AbstractBase.php b/module/VuFind/src/VuFind/Auth/AbstractBase.php
index 7ba872ab013..26a1eee63e5 100644
--- a/module/VuFind/src/VuFind/Auth/AbstractBase.php
+++ b/module/VuFind/src/VuFind/Auth/AbstractBase.php
@@ -349,6 +349,7 @@ abstract class AbstractBase implements \VuFind\Db\Table\DbTableAwareInterface,
      *
      * @param string $password Password to verify
      *
+     * @return void
      * @throws AuthException
      */
     protected function validatePasswordAgainstPolicy($password)
@@ -379,12 +380,11 @@ abstract class AbstractBase implements \VuFind\Db\Table\DbTableAwareInterface,
     /**
      * Translate a string
      *
-     * @todo Use TranslatorAwareTrait instead when it's implemented
-     *
-     * @param string $str     String to translate
-     * @param array  $tokens  Tokens to inject into the translated string
+     * @param string $str    String to translate
+     * @param array  $tokens Tokens to inject into the translated string
      *
      * @return string
+     * @todo Use TranslatorAwareTrait instead when it's implemented
      */
     public function translate($str, $tokens = array())
     {
diff --git a/module/VuFind/src/VuFind/Auth/Database.php b/module/VuFind/src/VuFind/Auth/Database.php
index 5ff935a0b1c..1813830709c 100644
--- a/module/VuFind/src/VuFind/Auth/Database.php
+++ b/module/VuFind/src/VuFind/Auth/Database.php
@@ -303,7 +303,7 @@ class Database extends AbstractBase
         return true;
     }
 
-   /**
+    /**
      * Password policy for a new password (e.g. minLength, maxLength)
      *
      * @return array
diff --git a/themes/bootstrap3/js/advanced_search_eds.js b/themes/bootstrap3/js/advanced_search_eds.js
index af458d71d46..a6cc4f6ac70 100644
--- a/themes/bootstrap3/js/advanced_search_eds.js
+++ b/themes/bootstrap3/js/advanced_search_eds.js
@@ -41,7 +41,9 @@ function addSearch(group, term, field, op)
     newSearch += ">" + searchFields[key] + "</option>";
   }
   newSearch += '</select></div> <a href="#" onClick="deleteSearch('+group+','+inputIndex+')" class="col-sm-1 help-block delete';
-  if(inputIndex == 0) newSearch += ' hidden';
+  if(inputIndex == 0) {
+    newSearch += ' hidden';
+  }
   newSearch += '">&times;</a></div>';
 
   // Insert it
-- 
GitLab