Skip to content

Commit

Permalink
Apply laravel-pint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel authored and github-actions[bot] committed Nov 3, 2024
1 parent 6b2a31e commit d7442a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/BrowsershotLambda.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function applyManipulationsOnS3(string $imagePath, string $disk = 's3'):
*/
public static function readHtmlFromS3(string $sourcePath, string $disk = 's3'): self
{
return (new BrowsershotLambda())
return (new BrowsershotLambda)
->setOption('s3Source', [
'path' => $sourcePath,
'region' => config('sidecar.aws_region'),
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ protected function updateCreationDateAndModDateOfPdf(string $pdf): string

public function assertPdfsAreSimilar(string $expected, string $actual, float $threshold = 0): void
{
$expectedPdf = new Imagick();
$expectedPdf = new Imagick;
$expectedPdf->readImageBlob($expected);
$expectedPdf->resetIterator();
$expectedPdf = $expectedPdf->appendImages(true);

$actualPdf = new Imagick();
$actualPdf = new Imagick;
$actualPdf->readImageBlob($actual);
$actualPdf->resetIterator();
$actualPdf = $actualPdf->appendImages(true);
Expand Down

0 comments on commit d7442a3

Please sign in to comment.