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 5, 2024
1 parent 11e36b8 commit 39d4e62
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 39d4e62

Please sign in to comment.