WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 0bfa28c

Browse files
freekmurzegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 1744fb4 commit 0bfa28c

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

src/Analytics.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function get(
228228
$metricFilter
229229
);
230230
}
231-
231+
232232
public function getRealtime(
233233
Period $period,
234234
array $metrics,

src/AnalyticsClient.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
use Google\Analytics\Data\V1beta\Dimension;
77
use Google\Analytics\Data\V1beta\FilterExpression;
88
use Google\Analytics\Data\V1beta\Metric;
9-
use Google\Analytics\Data\V1beta\RunReportResponse;
109
use Google\Analytics\Data\V1beta\RunRealtimeReportResponse;
10+
use Google\Analytics\Data\V1beta\RunReportResponse;
1111
use Illuminate\Contracts\Cache\Repository;
1212
use Illuminate\Support\Collection;
1313

@@ -157,7 +157,6 @@ public function runRealtimeReport(array $request): RunRealtimeReportResponse
157157
);
158158
}
159159

160-
161160
public function getAnalyticsService(): BetaAnalyticsDataClient
162161
{
163162
return $this->service;

src/OrderBy.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ class OrderBy
1010
{
1111
public static function dimension(string $dimension, bool $descending = false): GoogleOrderBy
1212
{
13-
$dimensionOrderBy = (new DimensionOrderBy())->setDimensionName($dimension);
13+
$dimensionOrderBy = (new DimensionOrderBy)->setDimensionName($dimension);
1414

15-
return (new GoogleOrderBy())->setDimension(
15+
return (new GoogleOrderBy)->setDimension(
1616
$dimensionOrderBy,
1717
)->setDesc($descending);
1818
}
1919

2020
public static function metric(string $metric, bool $descending = false): GoogleOrderBy
2121
{
22-
$metricOrderBy = (new MetricOrderBy())->setMetricName($metric);
22+
$metricOrderBy = (new MetricOrderBy)->setMetricName($metric);
2323

24-
return (new GoogleOrderBy())->setMetric(
24+
return (new GoogleOrderBy)->setMetric(
2525
$metricOrderBy,
2626
)->setDesc($descending);
2727
}

src/Period.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct(DateTimeInterface $startDate, DateTimeInterface $end
6161

6262
public function toDateRange(): DateRange
6363
{
64-
return (new DateRange())
64+
return (new DateRange)
6565
->setStartDate($this->startDate->format('Y-m-d'))
6666
->setEndDate($this->endDate->format('Y-m-d'));
6767
}

0 commit comments

Comments
 (0)