Skip to content

Commit 386a052

Browse files
authored
Fix minor formatting issues (#12)
1 parent c28811f commit 386a052

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

google-analytics-admin/quickstart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
$response = $client->listAccounts($request);
5656

5757
print 'Result:' . PHP_EOL;
58-
foreach($response->iterateAllElements() as $account) {
58+
foreach ($response->iterateAllElements() as $account) {
5959
print 'Account name: ' . $account->getName() . PHP_EOL;
6060
print 'Display name: ' . $account->getDisplayName() . PHP_EOL;
6161
print 'Country code: ' . $account->getRegionCode() . PHP_EOL;

google-analytics-admin/src/properties_list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function properties_list(string $accountId)
4848

4949
print 'Result:' . PHP_EOL;
5050
$i = 0;
51-
foreach($response->iterateAllElements() as $property) {
51+
foreach ($response->iterateAllElements() as $property) {
5252
printf('Property #%d resource name: %s, parent: %s, display name: "%s", currency: %s, time zone: %s, create time: %s, update time: %s%s',
5353
$i++,
5454
$property->getName(),

google-analytics-data/src/run_funnel_report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ function printFunnelSubReport(FunnelSubReport $subReport)
221221
}
222222

223223
print PHP_EOL . 'Sampling metadata for each date range:' . PHP_EOL;
224-
foreach($subReport->getMetadata()->getSamplingMetadatas() as $metadataIndex => $metadata) {
224+
foreach ($subReport->getMetadata()->getSamplingMetadatas() as $metadataIndex => $metadata) {
225225
printf('Sampling metadata for date range #%d: samplesReadCount=%d' .
226226
'samplingSpaceSize=%d%s',
227227
$metadataIndex, $metadata->getSamplesReadCount(), $metadata->getSamplingSpaceSize(), PHP_EOL);

0 commit comments

Comments
 (0)