Passed
Pull Request — 1.8 (#64)
by
unknown
02:36
created
code/search/CwpSearchEngine.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@
 block discarded – undo
44 44
 		$query->exclude('SiteTree_ShowInSearch', 0);
45 45
 
46 46
 		// Add File_ShowInSearch if the File class is in the query
47
-        $classes = array_column($classes, 'class');
48
-        if (in_array('File', $classes)) {
49
-            $query->exclude('File_ShowInSearch', 0);
50
-        }
47
+		$classes = array_column($classes, 'class');
48
+		if (in_array('File', $classes)) {
49
+			$query->exclude('File_ShowInSearch', 0);
50
+		}
51 51
 
52 52
 		// Artificially lower the amount of results to prevent too high resource usage.
53 53
 		// on subsequent canView check loop.
Please login to merge, or discard this patch.