From ae133552ee986812edc3652fc5c22cb6f16aa7c9 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 12 Sep 2012 14:00:33 -0400
Subject: [PATCH] Updated and reformatted TODO comments.

---
 module/VuFind/src/VuFind/Search/Solr/Results.php | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/module/VuFind/src/VuFind/Search/Solr/Results.php b/module/VuFind/src/VuFind/Search/Solr/Results.php
index 0127da9b693..bf43b6a528d 100644
--- a/module/VuFind/src/VuFind/Search/Solr/Results.php
+++ b/module/VuFind/src/VuFind/Search/Solr/Results.php
@@ -240,10 +240,8 @@ class Results extends BaseResults
      */
     protected function basicSpelling()
     {
-        // TODO: There might be a way to run the
-        //   search against both dictionaries from
-        //   inside solr. Investigate. Currently
-        //   submitting a second search for this.
+        // TODO: There might be a way to run the search against both dictionaries
+        // from inside Solr. Investigate. Currently submitting a second search.
 
         // Create a new search object
         $newParams = clone($this->getParams());
@@ -302,8 +300,8 @@ class Results extends BaseResults
             $inToken = false;
             $targetTerm = "";
             foreach ($tokens as $token) {
-                // TODO - Do we need stricter matching here?
-                //   Similar to that in replaceSearchTerm()?
+                // TODO - Do we need stricter matching here, similar to that in
+                // \VuFind\Search\Base\Params::replaceSearchTerm()?
                 if (stripos($token, $term) !== false) {
                     $inToken = true;
                     // We need to replace the whole token
-- 
GitLab