Skip to content

Commit 53f4234

Browse files
Fixes PHPCS
1 parent 30b630e commit 53f4234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

API.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getTreemapData(
5656
list($apiName, $apiAction) = explode('.', $apiMethod);
5757
$disAllowedApiActions = ['getBulkRequest'];
5858
// Block id API action does not start with get
59-
if (!in_array($apiAction, $disAllowedApiActions)|| stripos($apiAction, 'get') !== 0) {
59+
if (!in_array($apiAction, $disAllowedApiActions) || stripos($apiAction, 'get') !== 0) {
6060
throw new \Exception(Piwik::translate('TreemapVisualization_InvalidApiMethodException'));
6161
}
6262

0 commit comments

Comments
 (0)