Skip to content

Commit 44abfe8

Browse files
committed
Code style tweak
1 parent 298f040 commit 44abfe8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

root-files/opt/flownative/sitemap-crawler/sitemap-crawler.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
if (PHP_MAJOR_VERSION >= 9) {
1111
echo "This script is not compatible with PHP 9 or higher yet\n";
12-
exit (1);
12+
exit(1);
1313
}
1414

1515
if (getenv('FLOWNATIVE_LOG_PATH') === false) {
1616
echo "Missing environment variable FLOWNATIVE_LOG_PATH\n";
17-
exit (1);
17+
exit(1);
1818
}
1919

2020
$internalBaseUrl = getenv('SITEMAP_CRAWLER_INTERNAL_BASE_URL');
@@ -53,7 +53,7 @@ public function __construct(string $sitemapUrl, string $internalBaseUrl)
5353
$this->parseSitemap($sitemapUrl);
5454
} catch (\Throwable $throwable) {
5555
$this->log($throwable->getMessage());
56-
exit (1);
56+
exit(1);
5757
}
5858
}
5959

@@ -141,7 +141,7 @@ public function crawl(): void
141141
}
142142
} catch (\Throwable $throwable) {
143143
$this->log($throwable->getMessage());
144-
exit (1);
144+
exit(1);
145145
}
146146
}
147147

0 commit comments

Comments
 (0)