@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | Analytics::$plugin->cache->set($cacheId, $response, $cacheDuration); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - return (array)$response; |
|
| 54 | + return (array) $response; |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | $criteria->startDate = date('Y-m-d', strtotime('-1 '.$period)); |
| 351 | 351 | $criteria->endDate = date('Y-m-d'); |
| 352 | 352 | |
| 353 | - if(!empty($request['options']['limit'])) { |
|
| 353 | + if (!empty($request['options']['limit'])) { |
|
| 354 | 354 | $criteria->pageSize = $request['options']['limit']; |
| 355 | 355 | } |
| 356 | 356 | |