Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed Dec 13, 2024
1 parent a0d3090 commit 8a1e347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Browsershot.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 8a1e347

Please sign in to comment.