Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
medilies committed Nov 12, 2023
1 parent e3d11d0 commit 30cd5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ChromePhpRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function render(Html $html, Css $css, Options $options, Config $config =

$this->phpChromeOptions = [];

$browserFactory = new BrowserFactory($this->config?->getDriverConfig(ChromePhpConfig::class)->chromePath);
$browserFactory = new BrowserFactory($this->config?->getDriverConfig(ChromePhpConfig::class)?->chromePath);

Check failure on line 55 in src/ChromePhpRenderer.php

View workflow job for this annotation

GitHub Actions / phpstan

Access to an undefined property object::$chromePath.
$browser = $browserFactory->createBrowser();
$page = $browser->createPage();

Expand Down

0 comments on commit 30cd5cf

Please sign in to comment.