Skip to content

Commit

Permalink
chore: fix cs in compute sample
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Nov 15, 2024
1 parent 5ad66db commit 6085ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compute/firewall/src/print_firewall_rule.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function print_firewall_rule(string $projectId, string $firewallRuleName)
printf('Self Link: %s' . PHP_EOL, $response->getSelfLink());
printf('Logging Enabled: %s' . PHP_EOL, var_export($response->getLogConfig()->getEnable(), true));
print('--Allowed--' . PHP_EOL);
foreach ($response->getAllowed()as $item) {
foreach ($response->getAllowed() as $item) {
printf('Protocol: %s' . PHP_EOL, $item->getIPProtocol());
foreach ($item->getPorts() as $ports) {
printf(' - Ports: %s' . PHP_EOL, $ports);
Expand Down

0 comments on commit 6085ee3

Please sign in to comment.