@@ -48,8 +48,8 @@ discard block |
||
| 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 |
||
| 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 |