From 8a1e3476a9c07b72ace4d4747bac7c58dbc1c066 Mon Sep 17 00:00:00 2001 From: freekmurze Date: Fri, 13 Dec 2024 16:10:26 +0000 Subject: [PATCH] Fix styling --- src/Browsershot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Browsershot.php b/src/Browsershot.php index 053c742..3b88f10 100644 --- a/src/Browsershot.php +++ b/src/Browsershot.php @@ -261,7 +261,7 @@ public function setUrl(string $url): static $unsupportedProtocols = ['file://', 'file:/', 'file:\\', 'file:\\\\']; - foreach($unsupportedProtocols as $unsupportedProtocol) { + foreach ($unsupportedProtocols as $unsupportedProtocol) { if (str_starts_with(strtolower($url), $unsupportedProtocol)) { throw FileUrlNotAllowed::make(); }