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 Aug 20, 2024
1 parent 7174e3f commit 6fc6c0c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Browsershot.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,17 @@ class Browsershot

public static function url(string $url): static
{
return (new static())->setUrl($url);
return (new static)->setUrl($url);
}

public static function html(string $html): static
{
return (new static())->setHtml($html);
return (new static)->setHtml($html);
}

public static function htmlFromFilePath(string $filePath): static
{
return (new static())->setHtmlFromFilePath($filePath);
return (new static)->setHtmlFromFilePath($filePath);
}

public function __construct(string $url = '', bool $deviceEmulate = false)
Expand All @@ -91,7 +91,7 @@ public function __construct(string $url = '', bool $deviceEmulate = false)
$this->windowSize(800, 600);
}

$this->imageManipulations = new ImageManipulations();
$this->imageManipulations = new ImageManipulations;
}

public function setNodeBinary(string $nodeBinary): static
Expand Down

0 comments on commit 6fc6c0c

Please sign in to comment.