Hi everyone,
I'm having a strange problem with the library, maybe I'm using it wrong.
When i try this :
$ruleExists = $client->analytics->rules()->offsetExists($ruleCollectionName);
It return false, $analyticsRules is empty
But if i do this
$ruleExists = false;
foreach ($rules['rules'] as $rule) {
if ($rule['name'] == $ruleCollectionName) {
$ruleExists = true;
break;
}
}
It returns true.
I'm on PHP 8.4
Thank you