Skip to content

Commit 4e201da

Browse files
yhabteabsukhwinder33445
authored andcommitted
Fix phpstan errors
1 parent 46d7cc9 commit 4e201da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpstan-baseline.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ parameters:
6666
path: library/Pdfexport/HeadlessChrome.php
6767

6868
-
69-
message: "#^Cannot access offset 'webSocketDebuggerUrl' on array\\|bool\\.$#"
69+
message: "#^Cannot call method on\\(\\) on React\\\\Stream\\\\ReadableStreamInterface\\|React\\\\Stream\\\\WritableStreamInterface\\|null\\.$#"
7070
count: 1
7171
path: library/Pdfexport/HeadlessChrome.php
7272

7373
-
74-
message: "#^Cannot call method on\\(\\) on React\\\\Stream\\\\ReadableStreamInterface\\|React\\\\Stream\\\\WritableStreamInterface\\|null\\.$#"
74+
message: "#^Method Icinga\\\\Module\\\\Pdfexport\\\\HeadlessChrome\\:\\:asyncToPdf\\(\\) should return React\\\\Promise\\\\ExtendedPromiseInterface but returns React\\\\Promise\\\\PromiseInterface\\.$#"
7575
count: 1
7676
path: library/Pdfexport/HeadlessChrome.php
7777

0 commit comments

Comments
 (0)