Completed
Push — search ( a5d1cc )
by Simon
13:48 queued 09:49
created
includes/Pages/PageSearch.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     private function getNameSearchResults(RequestSearchHelper $searchHelper, $searchTerm)
105 105
     {
106
-        $padded = '%' . $searchTerm . '%';
106
+        $padded = '%'.$searchTerm.'%';
107 107
         $searchHelper->byName($padded);
108 108
     }
109 109
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      */
116 116
     private function getCommentSearchResults(RequestSearchHelper $searchHelper, $searchTerm)
117 117
     {
118
-        $padded = '%' . $searchTerm . '%';
118
+        $padded = '%'.$searchTerm.'%';
119 119
         $searchHelper->byComment($padded);
120 120
 
121 121
         $securityManager = $this->getSecurityManager();
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
             throw new ApplicationLogicException('The search term "@" is not valid for email address searches!');
142 142
         }
143 143
 
144
-        $padded = '%' . $searchTerm . '%';
144
+        $padded = '%'.$searchTerm.'%';
145 145
 
146 146
         $searchHelper->byEmailAddress($padded)->excludingPurgedData($this->getSiteConfiguration());
147 147
     }
Please login to merge, or discard this patch.