Skip to content

Commit

Permalink
fix: move new param to the last position in analyticsClient
Browse files Browse the repository at this point in the history
  • Loading branch information
laudefe committed Jul 19, 2024
1 parent 15a7da5 commit df6db70
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Analytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ public function get(
$orderBy,
$offset,
$dimensionFilter,
$metricFilter,
$keepEmptyRows
$keepEmptyRows,
$metricFilter
);
}
}
4 changes: 2 additions & 2 deletions src/AnalyticsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public function get(
array $orderBy = [],
int $offset = 0,
?FilterExpression $dimensionFilter = null,
?FilterExpression $metricFilter = null,
bool $keepEmptyRows = false,
?FilterExpression $metricFilter = null,
): Collection {
$typeCaster = resolve(TypeCaster::class);

Expand All @@ -52,8 +52,8 @@ public function get(
'offset' => $offset,
'orderBys' => $orderBy,
'dimensionFilter' => $dimensionFilter,
'metricFilter' => $metricFilter,
'keepEmptyRows' => $keepEmptyRows,
'metricFilter' => $metricFilter
]);

$result = collect();
Expand Down
16 changes: 8 additions & 8 deletions tests/AnalyticsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
[],
0,
null,
null,
false,
null,
];

$this
Expand Down Expand Up @@ -74,8 +74,8 @@
],
0,
null,
null,
false,
null,
];

$this
Expand Down Expand Up @@ -117,8 +117,8 @@
],
0,
null,
null,
false,
null,
];

$this
Expand Down Expand Up @@ -161,8 +161,8 @@
],
0,
null,
null,
false,
null,
];

$this
Expand Down Expand Up @@ -206,8 +206,8 @@
],
0,
null,
null,
false,
null,
];

$this
Expand Down Expand Up @@ -247,8 +247,8 @@
],
0,
null,
null,
false,
null,
];

$this
Expand Down Expand Up @@ -299,8 +299,8 @@
],
0,
null,
null,
false,
null,
];

$this
Expand Down Expand Up @@ -351,8 +351,8 @@
],
0,
null,
null,
false,
null,
];

$this
Expand Down

0 comments on commit df6db70

Please sign in to comment.