fixed phpstan failures caused by 5282ae329834512a6ca497e8c4bdbcb73ec86db2

This commit is contained in:
Dylan K. Taylor 2020-12-11 23:00:14 +00:00
parent 6a314c7d70
commit 3e0cf30285
2 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ parameters:
path: ../../../src/command/CommandReader.php
-
message: "#^Parameter \\#2 \\$host of class class@anonymous/src/command/defaults/TimingsCommand\\.php\\:125 constructor expects string, mixed given\\.$#"
message: "#^Parameter \\#2 \\$host of class class@anonymous/src/command/defaults/TimingsCommand\\.php\\:130 constructor expects string, mixed given\\.$#"
count: 1
path: ../../../src/command/defaults/TimingsCommand.php

View File

@ -491,7 +491,7 @@ parameters:
path: ../../../src/command/defaults/PardonIpCommand.php
-
message: "#^Parameter \\#1 \\$fp of static method pocketmine\\\\timings\\\\TimingsHandler\\:\\:printTimings\\(\\) expects resource, resource\\|false given\\.$#"
message: "#^Parameter \\#1 \\$fp of function fwrite expects resource, resource\\|false given\\.$#"
count: 1
path: ../../../src/command/defaults/TimingsCommand.php
@ -511,7 +511,7 @@ parameters:
path: ../../../src/command/defaults/TimingsCommand.php
-
message: "#^Parameter \\#4 \\$data of class class@anonymous/src/command/defaults/TimingsCommand\\.php\\:125 constructor expects array\\<string, string\\>, array\\<string, string\\|false\\> given\\.$#"
message: "#^Parameter \\#4 \\$data of class class@anonymous/src/command/defaults/TimingsCommand\\.php\\:130 constructor expects array\\<string, string\\>, array\\<string, string\\|false\\> given\\.$#"
count: 1
path: ../../../src/command/defaults/TimingsCommand.php