Skip to content

Commit 66519d6

Browse files
pxlrbtgithub-actions[bot]
authored andcommitted
Fix styling
1 parent deaea0b commit 66519d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Drivers/BrowsershotDriver.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ class BrowsershotDriver implements Driver
1010
{
1111
protected static ?Closure $configureUsing = null;
1212

13-
public static function configureUsing(Closure $callback): void {
13+
public static function configureUsing(Closure $callback): void
14+
{
1415
static::$configureUsing = $callback;
1516
}
1617

@@ -22,7 +23,7 @@ public function getData(Pdfable $pdf): ?string
2223
$browser = Browsershot::html($html)
2324
->paperSize($page->getWidth(), $page->getHeight())
2425
->margins(...$page->getMargins());
25-
26+
2627
if (self::$configureUsing !== null) {
2728
$browser = call_user_func(static::$configureUsing, $browser);
2829
}

0 commit comments

Comments
 (0)