Skip to content

Commit

Permalink
Merge branch 'redesiign' of https://github.com/The-3Labs-Team/php-clo…
Browse files Browse the repository at this point in the history
…udflare-analytics into redesiign
  • Loading branch information
murdercode committed Aug 5, 2024
2 parents fcd9960 + 2c888f0 commit 33939d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CloudflareAnalytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function get(...$fields)
$startDate = $filter['startDate'] ?? (new DateTime)->sub(new DateInterval('P1D'))->format('c');
$endDate = $filter['endDate'] ?? (new DateTime)->format('c');

$fieldsList = implode("\n", array_map(fn ($f) => str_replace("$alias.", "", $f), $fields));
$fieldsList = implode("\n", array_map(fn ($f) => str_replace("$alias.", '', $f), $fields));

$queries[] = <<<GRAPHQL
$alias: $selector(
Expand Down

0 comments on commit 33939d0

Please sign in to comment.