Passed
Push — master ( 9da129...c4af72 )
by Nicolaas
07:33 queued 03:28
created
src/Tasks/SiteWideSearch.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
         Environment::increaseMemoryLimitTo(-1);
36 36
         $debug = $request->postVar('debug') ? 'checked="checked"' : '';
37 37
         $word = Convert::raw2sql($request->requestVar('word'));
38
-        if (! is_string($word)) {
38
+        if (!is_string($word)) {
39 39
             $word = '';
40 40
         }
41 41
         $replace = Convert::raw2sql($request->requestVar('replace'));
42
-        if (! is_string($replace)) {
42
+        if (!is_string($replace)) {
43 43
             $replace = '';
44 44
         }
45 45
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
                 DB::alteration_message($cmsEditLink . $title, 'obsolete');
80 80
             }
81 81
         }
82
-        if($replace) {
82
+        if ($replace) {
83 83
             $api->doReplacement($word, $replace);
84 84
             $api->setDebug(true);
85 85
         }
Please login to merge, or discard this patch.