From 6ed06abbeea4911649c64178751c8dcebe9f7213 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 6 Jan 2020 09:50:32 -0500
Subject: [PATCH] Whitespace cleanup.

---
 .../VuFind/AjaxHandler/GetItemStatuses.php    |  2 +-
 module/VuFind/src/VuFind/Cart.php             |  2 +-
 .../Controller/AlphabrowseController.php      |  2 +-
 .../Controller/CollectionsController.php      |  2 +-
 .../VuFind/Controller/InstallController.php   |  4 +-
 module/VuFind/src/VuFind/Cover/Loader.php     |  2 +-
 module/VuFind/src/VuFind/ILS/Driver/Alma.php  | 62 +++++++++----------
 .../VuFind/src/VuFind/ILS/Driver/Amicus.php   |  2 +-
 .../src/VuFind/ILS/Driver/HorizonXMLAPI.php   |  2 +-
 .../src/VuFind/ILS/Driver/KohaILSDI.php       |  4 +-
 module/VuFind/src/VuFind/ILS/Driver/PAIA.php  |  4 +-
 .../VuFind/src/VuFind/ILS/Driver/Unicorn.php  |  4 +-
 .../src/VuFind/ILS/Driver/VoyagerRestful.php  | 12 ++--
 module/VuFind/src/VuFind/ImageLoader.php      |  2 +-
 .../AbstractSummonRecommendDeferred.php       |  2 +-
 .../src/VuFind/Recommend/EuropeanaResults.php |  2 +-
 .../Recommend/EuropeanaResultsDeferred.php    |  2 +-
 .../VuFind/Recommend/OpenLibrarySubjects.php  |  2 +-
 .../Recommend/OpenLibrarySubjectsDeferred.php |  2 +-
 module/VuFind/src/VuFind/RecordDriver/EDS.php |  2 +-
 .../VuFind/src/VuFind/Search/EDS/Options.php  |  2 +-
 .../src/VuFind/View/Helper/Root/Citation.php  |  2 +-
 .../src/VuFindSearch/Backend/EDS/Backend.php  |  4 +-
 .../VuFindSearch/Backend/EDS/QueryBuilder.php |  2 +-
 .../View/Helper/HeadThemeResources.php        |  2 +-
 25 files changed, 65 insertions(+), 65 deletions(-)

diff --git a/module/VuFind/src/VuFind/AjaxHandler/GetItemStatuses.php b/module/VuFind/src/VuFind/AjaxHandler/GetItemStatuses.php
index 5e4d6a2375e..b08728276fb 100644
--- a/module/VuFind/src/VuFind/AjaxHandler/GetItemStatuses.php
+++ b/module/VuFind/src/VuFind/AjaxHandler/GetItemStatuses.php
@@ -330,7 +330,7 @@ class GetItemStatuses extends AbstractBase implements TranslatorAwareInterface
     protected function getItemStatusGroup($record, $messages, $callnumberSetting)
     {
         // Summarize call number, location and availability info across all items:
-        $locations =  [];
+        $locations = [];
         $use_unknown_status = $available = false;
         foreach ($record as $info) {
             // Find an available copy
diff --git a/module/VuFind/src/VuFind/Cart.php b/module/VuFind/src/VuFind/Cart.php
index a9e4bf4b13a..51ab9cf2523 100644
--- a/module/VuFind/src/VuFind/Cart.php
+++ b/module/VuFind/src/VuFind/Cart.php
@@ -84,7 +84,7 @@ class Cart
      */
     protected $cookieManager;
 
-    const CART_COOKIE =  'vufind_cart';
+    const CART_COOKIE = 'vufind_cart';
     const CART_COOKIE_SOURCES = 'vufind_cart_src';
     const CART_COOKIE_DELIM = "\t";
 
diff --git a/module/VuFind/src/VuFind/Controller/AlphabrowseController.php b/module/VuFind/src/VuFind/Controller/AlphabrowseController.php
index dda555b45f0..b408b516623 100644
--- a/module/VuFind/src/VuFind/Controller/AlphabrowseController.php
+++ b/module/VuFind/src/VuFind/Controller/AlphabrowseController.php
@@ -160,7 +160,7 @@ class AlphabrowseController extends AbstractBase
             $highlight_row = $rows_before;
             // special case: match row is < rows_before (i.e. at beginning of list)
             if ($startRow_adj < $rows_before) {
-                $highlight_row =  $startRow_adj;
+                $highlight_row = $startRow_adj;
             }
             // special case: we've gone past the end
             // only the rows_before records will have been returned
diff --git a/module/VuFind/src/VuFind/Controller/CollectionsController.php b/module/VuFind/src/VuFind/Controller/CollectionsController.php
index b485360810a..244604bdd0a 100644
--- a/module/VuFind/src/VuFind/Controller/CollectionsController.php
+++ b/module/VuFind/src/VuFind/Controller/CollectionsController.php
@@ -189,7 +189,7 @@ class CollectionsController extends AbstractBase
         foreach ($result as $rkey => $collection) {
             list($name, $id) = explode($delimiter, $collection['value'], 2);
             $result[$rkey]['displayText'] = $name;
-            $result[$rkey]['value'] =  $id;
+            $result[$rkey]['value'] = $id;
         }
 
         // Sort the $results and get the position of the from string once sorted
diff --git a/module/VuFind/src/VuFind/Controller/InstallController.php b/module/VuFind/src/VuFind/Controller/InstallController.php
index 8269e32c7f6..d45cb21701f 100644
--- a/module/VuFind/src/VuFind/Controller/InstallController.php
+++ b/module/VuFind/src/VuFind/Controller/InstallController.php
@@ -475,9 +475,9 @@ class InstallController extends AbstractBase
     {
         // Special case: PostgreSQL:
         if ($view->driver == 'pgsql') {
-            $grantTables =  "GRANT ALL PRIVILEGES ON ALL TABLES IN "
+            $grantTables = "GRANT ALL PRIVILEGES ON ALL TABLES IN "
                 . "SCHEMA public TO {$view->dbuser} ";
-            $grantSequences =  "GRANT ALL PRIVILEGES ON ALL SEQUENCES"
+            $grantSequences = "GRANT ALL PRIVILEGES ON ALL SEQUENCES"
                 . " IN SCHEMA public TO {$view->dbuser} ";
             return [$grantTables, $grantSequences];
         }
diff --git a/module/VuFind/src/VuFind/Cover/Loader.php b/module/VuFind/src/VuFind/Cover/Loader.php
index c521b77da49..1f195356cdd 100644
--- a/module/VuFind/src/VuFind/Cover/Loader.php
+++ b/module/VuFind/src/VuFind/Cover/Loader.php
@@ -629,7 +629,7 @@ class Loader extends \VuFind\ImageLoader
             $imagePath = substr($url, 7);
 
             // Display the image:
-            $this->contentType =  mime_content_type($imagePath);
+            $this->contentType = mime_content_type($imagePath);
             $this->image = file_get_contents($imagePath);
             return true;
         } else {
diff --git a/module/VuFind/src/VuFind/ILS/Driver/Alma.php b/module/VuFind/src/VuFind/ILS/Driver/Alma.php
index f4df65fee9e..0cd9ac92cee 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Alma.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Alma.php
@@ -789,46 +789,46 @@ class Alma extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterface
             return [];
         }
         $profile = [
-            'firstname'  => (isset($xml->first_name))
-                                ? (string)$xml->first_name
-                                : null,
-            'lastname'   => (isset($xml->last_name))
-                                ? (string)$xml->last_name
-                                : null,
-            'group'      => isset($xml->user_group)
-                                ? $this->getTranslatableString($xml->user_group)
-                                : null,
+            'firstname' => (isset($xml->first_name))
+                ? (string)$xml->first_name
+                : null,
+            'lastname' => (isset($xml->last_name))
+                ? (string)$xml->last_name
+                : null,
+            'group' => isset($xml->user_group)
+                ? $this->getTranslatableString($xml->user_group)
+                : null,
             'group_code' => (isset($xml->user_group))
-                                ? (string)$xml->user_group
-                                : null
+                ? (string)$xml->user_group
+                : null
         ];
         $contact = $xml->contact_info;
         if ($contact) {
             if ($contact->addresses) {
                 $address = $contact->addresses[0]->address;
-                $profile['address1'] =  (isset($address->line1))
-                                            ? (string)$address->line1
-                                            : null;
-                $profile['address2'] =  (isset($address->line2))
-                                            ? (string)$address->line2
-                                            : null;
-                $profile['address3'] =  (isset($address->line3))
-                                            ? (string)$address->line3
-                                            : null;
-                $profile['zip']      =  (isset($address->postal_code))
-                                            ? (string)$address->postal_code
-                                            : null;
-                $profile['city']     =  (isset($address->city))
-                                            ? (string)$address->city
-                                            : null;
-                $profile['country']  =  (isset($address->country))
-                                            ? (string)$address->country
-                                            : null;
+                $profile['address1'] = (isset($address->line1))
+                    ? (string)$address->line1
+                    : null;
+                $profile['address2'] = (isset($address->line2))
+                    ? (string)$address->line2
+                    : null;
+                $profile['address3'] = (isset($address->line3))
+                    ? (string)$address->line3
+                    : null;
+                $profile['zip'] = (isset($address->postal_code))
+                    ? (string)$address->postal_code
+                    : null;
+                $profile['city'] = (isset($address->city))
+                    ? (string)$address->city
+                    : null;
+                $profile['country'] = (isset($address->country))
+                    ? (string)$address->country
+                    : null;
             }
             if ($contact->phones) {
                 $profile['phone'] = (isset($contact->phones[0]->phone->phone_number))
-                                   ? (string)$contact->phones[0]->phone->phone_number
-                                   : null;
+                    ? (string)$contact->phones[0]->phone->phone_number
+                    : null;
             }
             $profile['email'] = $this->getPreferredEmail($xml);
         }
diff --git a/module/VuFind/src/VuFind/ILS/Driver/Amicus.php b/module/VuFind/src/VuFind/ILS/Driver/Amicus.php
index 809f0614dea..75224a2e7cb 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Amicus.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Amicus.php
@@ -610,7 +610,7 @@ class Amicus extends AbstractBase implements TranslatorAwareInterface
             "AS DUEDATE, CIRT_ITM.BIB_ITM_NBR AS BIB_ID " .
             "FROM LV_USER, CIRT_ITM " .
             "WHERE LV_USER.PRSN_NBR = CIRT_ITM.PRSN_NBR " .
-            "AND LV_USER.LOGIN =  '" . $patron['id'] . "'";
+            "AND LV_USER.LOGIN = '" . $patron['id'] . "'";
         try {
             $sqlStmt = $this->db->prepare($sql);
             $sqlStmt->execute();
diff --git a/module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php b/module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php
index 3359cac6230..aec518b811a 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php
@@ -546,7 +546,7 @@ class HorizonXMLAPI extends Horizon implements \VuFindHttp\HttpServiceAwareInter
         $initResponse = $this->makeRequest($params);
 
         if ($initResponse->request_confirm) {
-            $confirmParams =  [
+            $confirmParams = [
                 "session" => $session,
                 "profile" => $this->wsProfile,
                 "bibkey" => $requestDetails['bibId'],
diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
index 4ca53c1fdc8..e528c429e46 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php
@@ -482,7 +482,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
             "Y-m-d", $display_date
         );
 
-        $checkTime =  $this->dateConverter->convertFromDisplayDate(
+        $checkTime = $this->dateConverter->convertFromDisplayDate(
             "U", $display_date
         );
         if (!is_numeric($checkTime)) {
@@ -1032,7 +1032,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements
 
         $rescount = 0;
         foreach ($itemSqlStmt->fetchAll() as $rowItem) {
-            $items[] =  [
+            $items[] = [
                 'id' => $rowItem['id']
             ];
             $rescount++;
diff --git a/module/VuFind/src/VuFind/ILS/Driver/PAIA.php b/module/VuFind/src/VuFind/ILS/Driver/PAIA.php
index c055cc7ff30..12d7b9ef4d7 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/PAIA.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/PAIA.php
@@ -1441,7 +1441,7 @@ class PAIA extends DAIA
         $result['location'] = ($doc['storage'] ?? null);
 
         // queue (0..1) number of waiting requests for the document or item
-        $result['position'] =  ($doc['queue'] ?? null);
+        $result['position'] = ($doc['queue'] ?? null);
 
         // only true if status == 4
         $result['available'] = false;
@@ -1479,7 +1479,7 @@ class PAIA extends DAIA
         // Optional VuFind fields
         /*
         $result['reqnum'] = null;
-        $result['volume'] =  null;
+        $result['volume'] = null;
         $result['publication_year'] = null;
         $result['isbn'] = null;
         $result['issn'] = null;
diff --git a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
index 48f66f87efd..75aa0c58611 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
@@ -1179,10 +1179,10 @@ class Unicorn extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterf
         if (empty($url)) {
             $url = $this->host;
             if ($this->port) {
-                $url =  "http://" . $url . ":" . $this->port . "/" .
+                $url = "http://" . $url . ":" . $this->port . "/" .
                     $this->search_prog;
             } else {
-                $url =  "http://" . $url . "/" . $this->search_prog;
+                $url = "http://" . $url . "/" . $this->search_prog;
             }
         }
 
diff --git a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
index 35b391a1124..e1a7ad153cb 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php
@@ -1507,7 +1507,7 @@ EOT;
         }
 
         // Build request
-        $xml =  <<<EOT
+        $xml = <<<EOT
 <?xml version="1.0" encoding="UTF-8"?>
 <ser:serviceParameters
   xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters">
@@ -1973,7 +1973,7 @@ EOT;
         }
 
         try {
-            $checkTime =  $this->dateFormat->convertFromDisplayDate(
+            $checkTime = $this->dateFormat->convertFromDisplayDate(
                 'U', $holdDetails['requiredBy']
             );
             if (!is_numeric($checkTime)) {
@@ -2734,7 +2734,7 @@ EOT;
             return false;
         }
 
-        $xml =  <<<EOT
+        $xml = <<<EOT
 <?xml version="1.0" encoding="UTF-8"?>
 <ser:serviceParameters
 xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters">
@@ -2943,7 +2943,7 @@ EOT;
         $barcode = $this->encodeXML($catUsername);
         $pickupLib = $this->encodeXML($pickupLib);
 
-        $xml =  <<<EOT
+        $xml = <<<EOT
 <?xml version="1.0" encoding="UTF-8"?>
 <ser:serviceParameters
 xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters">
@@ -3056,7 +3056,7 @@ EOT;
         }
 
         // Attempt Request
-        $xml =  <<<EOT
+        $xml = <<<EOT
 <?xml version="1.0" encoding="UTF-8"?>
 <ser:serviceParameters
 xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters">
@@ -3313,7 +3313,7 @@ EOT;
         }
         $barcode = htmlspecialchars($patron['cat_username'], ENT_COMPAT, 'UTF-8');
 
-        $xml =  <<<EOT
+        $xml = <<<EOT
 <?xml version="1.0" encoding="UTF-8"?>
 <ser:serviceParameters
 xmlns:ser="http://www.endinfosys.com/Voyager/serviceParameters">
diff --git a/module/VuFind/src/VuFind/ImageLoader.php b/module/VuFind/src/VuFind/ImageLoader.php
index 228622ead3e..4746b27e350 100644
--- a/module/VuFind/src/VuFind/ImageLoader.php
+++ b/module/VuFind/src/VuFind/ImageLoader.php
@@ -145,7 +145,7 @@ class ImageLoader implements \Zend\Log\LoggerAwareInterface
         // Check all supported image formats:
         $filenames = [];
         foreach ($formats as $format) {
-            $filenames[] =  $path . $format;
+            $filenames[] = $path . $format;
         }
         if (null === $this->themeTools) {
             throw new \Exception('\VuFindTheme\ThemeInfo object missing');
diff --git a/module/VuFind/src/VuFind/Recommend/AbstractSummonRecommendDeferred.php b/module/VuFind/src/VuFind/Recommend/AbstractSummonRecommendDeferred.php
index b71764cce7b..e04a062b3a4 100644
--- a/module/VuFind/src/VuFind/Recommend/AbstractSummonRecommendDeferred.php
+++ b/module/VuFind/src/VuFind/Recommend/AbstractSummonRecommendDeferred.php
@@ -118,7 +118,7 @@ class AbstractSummonRecommendDeferred implements RecommendInterface
 
         // Collect the best possible search term(s):
         $lookforParam = empty($settings[0]) ? 'lookfor' : $settings[0];
-        $this->lookfor =  $request->get($lookforParam, '');
+        $this->lookfor = $request->get($lookforParam, '');
         if (empty($this->lookfor) && is_object($params)) {
             $this->lookfor = $params->getQuery()->getAllTerms();
         }
diff --git a/module/VuFind/src/VuFind/Recommend/EuropeanaResults.php b/module/VuFind/src/VuFind/Recommend/EuropeanaResults.php
index f163c352dd5..be9a7515eee 100644
--- a/module/VuFind/src/VuFind/Recommend/EuropeanaResults.php
+++ b/module/VuFind/src/VuFind/Recommend/EuropeanaResults.php
@@ -196,7 +196,7 @@ class EuropeanaResults implements RecommendInterface,
     public function init($params, $request)
     {
         // Collect the best possible search term(s):
-        $this->lookfor =  $request->get('lookfor', '');
+        $this->lookfor = $request->get('lookfor', '');
         if (empty($this->lookfor) && is_object($params)) {
             $this->lookfor = $params->getQuery()->getAllTerms();
         }
diff --git a/module/VuFind/src/VuFind/Recommend/EuropeanaResultsDeferred.php b/module/VuFind/src/VuFind/Recommend/EuropeanaResultsDeferred.php
index 9be50bdf5fa..d26cf3ce5f4 100644
--- a/module/VuFind/src/VuFind/Recommend/EuropeanaResultsDeferred.php
+++ b/module/VuFind/src/VuFind/Recommend/EuropeanaResultsDeferred.php
@@ -100,7 +100,7 @@ class EuropeanaResultsDeferred implements RecommendInterface
         }
 
         // Collect the best possible search term(s):
-        $this->lookfor =  $request->get('lookfor', '');
+        $this->lookfor = $request->get('lookfor', '');
         if (empty($this->lookfor) && is_object($params)) {
             $this->lookfor = $params->getQuery()->getAllTerms();
         }
diff --git a/module/VuFind/src/VuFind/Recommend/OpenLibrarySubjects.php b/module/VuFind/src/VuFind/Recommend/OpenLibrarySubjects.php
index afcdd42b54c..7704b10ef23 100644
--- a/module/VuFind/src/VuFind/Recommend/OpenLibrarySubjects.php
+++ b/module/VuFind/src/VuFind/Recommend/OpenLibrarySubjects.php
@@ -147,7 +147,7 @@ class OpenLibrarySubjects implements RecommendInterface,
     public function init($params, $request)
     {
         // Get and normalise $requestParam
-        $this->subject =  $request->get($this->requestParam);
+        $this->subject = $request->get($this->requestParam);
 
         // Set up the published date range if it has not already been provided:
         if (empty($this->publishedIn) && $this->pubFilter) {
diff --git a/module/VuFind/src/VuFind/Recommend/OpenLibrarySubjectsDeferred.php b/module/VuFind/src/VuFind/Recommend/OpenLibrarySubjectsDeferred.php
index 081460d039b..a673407cc72 100644
--- a/module/VuFind/src/VuFind/Recommend/OpenLibrarySubjectsDeferred.php
+++ b/module/VuFind/src/VuFind/Recommend/OpenLibrarySubjectsDeferred.php
@@ -112,7 +112,7 @@ class OpenLibrarySubjectsDeferred extends OpenLibrarySubjects
         $this->processedParams = implode(':', $settings);
 
         // Collect the best possible search term(s):
-        $this->subject =  $request->get($this->requestParam);
+        $this->subject = $request->get($this->requestParam);
         if (empty($this->subject) && is_object($params)) {
             $this->subject = $params->getQuery()->getAllTerms();
         }
diff --git a/module/VuFind/src/VuFind/RecordDriver/EDS.php b/module/VuFind/src/VuFind/RecordDriver/EDS.php
index 208260ea92c..eba329676a4 100644
--- a/module/VuFind/src/VuFind/RecordDriver/EDS.php
+++ b/module/VuFind/src/VuFind/RecordDriver/EDS.php
@@ -535,7 +535,7 @@ class EDS extends DefaultRecord
     {
         $groupsToReplace = ['au','su'];
         if (in_array($group, $groupsToReplace)) {
-            $br =  '/<br \/>/';
+            $br = '/<br \/>/';
             $comma = ', ';
             return preg_replace($br, $comma, $data);
         }
diff --git a/module/VuFind/src/VuFind/Search/EDS/Options.php b/module/VuFind/src/VuFind/Search/EDS/Options.php
index 2fa20504888..0b8c778302a 100644
--- a/module/VuFind/src/VuFind/Search/EDS/Options.php
+++ b/module/VuFind/src/VuFind/Search/EDS/Options.php
@@ -481,7 +481,7 @@ class Options extends \VuFind\Search\Base\Options
                     if (isset($expander['DefaultOn'])
                         && 'y' == $expander['DefaultOn']
                     ) {
-                        $this->defaultExpanders[] =  $expander['Id'];
+                        $this->defaultExpanders[] = $expander['Id'];
                     }
                 }
             }
diff --git a/module/VuFind/src/VuFind/View/Helper/Root/Citation.php b/module/VuFind/src/VuFind/View/Helper/Root/Citation.php
index a8fb868655a..f509089a96f 100644
--- a/module/VuFind/src/VuFind/View/Helper/Root/Citation.php
+++ b/module/VuFind/src/VuFind/View/Helper/Root/Citation.php
@@ -273,7 +273,7 @@ class Citation extends \Zend\View\Helper\AbstractHelper
         } else {
             // Add other journal-specific details:
             $mla['pageRange'] = $this->getPageRange();
-            $mla['journal'] =  $this->capitalizeTitle($this->details['journal']);
+            $mla['journal'] = $this->capitalizeTitle($this->details['journal']);
             $mla['numberAndDate'] = $this->getMLANumberAndDate($volNumSeparator);
             return $partial('Citation/mla-article.phtml', $mla);
         }
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php b/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php
index cad62f92f8e..12e2cd3f5c7 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/EDS/Backend.php
@@ -421,7 +421,7 @@ class Backend extends AbstractBackend
         }
         $authTokenData = $this->cache->getItem('edsAuthenticationToken');
         if (isset($authTokenData)) {
-            $currentToken =  $authTokenData['token'] ?? '';
+            $currentToken = $authTokenData['token'] ?? '';
             $expirationTime = $authTokenData['expiration'] ?? 0;
             $this->debugPrint(
                 'Cached Authentication data: '
@@ -473,7 +473,7 @@ class Backend extends AbstractBackend
         }
         $autocompleteData = $this->cache->getItem('edsAutocomplete');
         if (!empty($autocompleteData)) {
-            $currentToken =  $autocompleteData['token'] ?? '';
+            $currentToken = $autocompleteData['token'] ?? '';
             $expirationTime = $autocompleteData['expiration'] ?? 0;
 
             // Check to see if the token expiration time is greater than the current
diff --git a/module/VuFindSearch/src/VuFindSearch/Backend/EDS/QueryBuilder.php b/module/VuFindSearch/src/VuFindSearch/Backend/EDS/QueryBuilder.php
index 7c5e702ab5d..79fefed753e 100644
--- a/module/VuFindSearch/src/VuFindSearch/Backend/EDS/QueryBuilder.php
+++ b/module/VuFindSearch/src/VuFindSearch/Backend/EDS/QueryBuilder.php
@@ -118,7 +118,7 @@ class QueryBuilder
      */
     protected function queryGroupToArray(QueryGroup $query)
     {
-        $groups =  [];
+        $groups = [];
         foreach ($query->getQueries() as $params) {
             // Advanced Search
             if ($params instanceof QueryGroup) {
diff --git a/module/VuFindTheme/src/VuFindTheme/View/Helper/HeadThemeResources.php b/module/VuFindTheme/src/VuFindTheme/View/Helper/HeadThemeResources.php
index 28b321d6a07..69804c642c9 100644
--- a/module/VuFindTheme/src/VuFindTheme/View/Helper/HeadThemeResources.php
+++ b/module/VuFindTheme/src/VuFindTheme/View/Helper/HeadThemeResources.php
@@ -170,7 +170,7 @@ class HeadThemeResources extends \Zend\View\Helper\AbstractHelper
         // Load Javascript (same ordering considerations as CSS, above):
         $headScript = $this->getView()->plugin('headScript');
         foreach (array_reverse($this->container->getJs()) as $current) {
-            $parts =  $this->parseSetting($current);
+            $parts = $this->parseSetting($current);
             $headScript()->forcePrependFile(
                 trim($parts[0]),
                 'text/javascript',
-- 
GitLab