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 Jan 6, 2025
1 parent 731244f commit 9195994
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Browsershot.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public function setUrl(string $url): static
{
$url = trim($url);

if (filter_var($url, FILTER_VALIDATE_URL) === false ){
if (filter_var($url, FILTER_VALIDATE_URL) === false) {
throw FileUrlNotAllowed::urlCannotBeParsed($url);
}

Expand Down
1 change: 0 additions & 1 deletion tests/BrowsershotTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Spatie\Browsershot\Exceptions\CouldNotTakeBrowsershot;
use Spatie\Browsershot\Exceptions\ElementNotFound;
use Spatie\Browsershot\Exceptions\FileUrlNotAllowed;
use Spatie\Browsershot\Exceptions\HtmlIsNotAllowedToContainFile;
use Spatie\Browsershot\Exceptions\UnsuccessfulResponse;
use Spatie\Image\Enums\Fit;
use Symfony\Component\Process\Exception\ProcessFailedException;
Expand Down

0 comments on commit 9195994

Please sign in to comment.