Completed
Pull Request — master (#621)
by
unknown
07:47
created
Classes/Domain/Search/Statistics/StatisticsRepository.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
         $now = time();
49 49
         $timeStart = $now - 86400 * intval($days); // 86400 seconds/day
50 50
 
51
-        $rootPageId = (int) $rootPageId;
52
-        $limit = (int) $limit;
51
+        $rootPageId = (int)$rootPageId;
52
+        $limit = (int)$limit;
53 53
         $statisticsRows = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(
54 54
             'keywords, count(keywords) as count, num_found as hits',
55 55
             'tx_solr_statistics',
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
      */
107 107
     protected function getTopKeyWordsWithOrWithoutHits($rootPageId, $days = 30, $limit, $withoutHits)
108 108
     {
109
-        $rootPageId = (int) $rootPageId;
110
-        $limit = (int) $limit;
111
-        $withoutHits = (bool) $withoutHits;
109
+        $rootPageId = (int)$rootPageId;
110
+        $limit = (int)$limit;
111
+        $withoutHits = (bool)$withoutHits;
112 112
 
113 113
         $now = time();
114 114
         $timeStart = $now - 86400 * intval($days); // 86400 seconds/day
Please login to merge, or discard this patch.