Skip to content

Commit

Permalink
Merge branch 'v4' of github.com:spatie/browsershot into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Dec 29, 2023
2 parents 5e1d807 + 771dec1 commit 9712f2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Browsershot.php
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,6 @@ public function __call($name, $arguments)
return $this;
}


public function save(string $targetPath): void
{
$extension = strtolower(pathinfo($targetPath, PATHINFO_EXTENSION));
Expand Down
2 changes: 1 addition & 1 deletion tests/BrowsershotTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@
expect($errors[0]['message'])->toBeString();
});

it('will apply manipulations when taking screenshots', function() {
it('will apply manipulations when taking screenshots', function () {
$screenShot = Browsershot::url('https://example.com')
->windowSize(1920, 1080)
->fit(Fit::Fill, 200, 200)
Expand Down

0 comments on commit 9712f2c

Please sign in to comment.