Skip to content

Commit

Permalink
HeadlessChrome: Fix Variable '$params' is probably undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Aug 23, 2023
1 parent f4592e6 commit 2d2d51e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/Pdfexport/HeadlessChrome.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ private function waitFor(Client $ws, $eventName, array $expectedParams = null)
$wait = true;
$interceptedPos = -1;

$params = null;
do {
if (isset($this->interceptedEvents[++$interceptedPos])) {
$response = $this->interceptedEvents[$interceptedPos];
Expand Down

0 comments on commit 2d2d51e

Please sign in to comment.