Skip to content

Commit e847853

Browse files
PHP 8.4: Change implicit nullable type declaration to explicit
Since PHP 8.4 implicitly nullable parameter types are deprecated.
1 parent 087fe80 commit e847853

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/Pdfexport/HeadlessChrome.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ private function communicate(Client $ws, $method, $params = null)
637637
return $response['result'];
638638
}
639639

640-
private function waitFor(Client $ws, $eventName, array $expectedParams = null)
640+
private function waitFor(Client $ws, $eventName, ?array $expectedParams = null)
641641
{
642642
if ($eventName !== self::WAIT_FOR_NETWORK) {
643643
Logger::debug(

0 commit comments

Comments
 (0)