Passed
Push — master ( e0d136...68aff5 )
by Nicolaas
03:37
created
src/Admin/SearchAdmin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
             ->setWordsAsString($this->keywords)
188 188
             ->getLinks()
189 189
         ;
190
-        if($results->count() === 1) {
190
+        if ($results->count() === 1) {
191 191
             $result = $results->first();
192 192
             $this->redirect($result->CMSEditLink);
193 193
             return null;
@@ -220,12 +220,12 @@  discard block
 block discarded – undo
220 220
     {
221 221
         // Accessing the session
222 222
         $session = $this->getRequest()->getSession();
223
-        if($this->quickSearchType) {
223
+        if ($this->quickSearchType) {
224 224
             $session->set('QuickSearchType', $this->quickSearchType);
225 225
         } else {
226 226
             $this->quickSearchType = $session->get('QuickSearchType');
227 227
         }
228
-        if(!$this->quickSearchType) {
228
+        if (!$this->quickSearchType) {
229 229
             $this->quickSearchType = $this->Config()->get('default_quick_search_type');
230 230
         }
231 231
         return (string) $this->quickSearchType;
Please login to merge, or discard this patch.