phpstan 2.0 update checks

This commit is contained in:
Clemens Schwaighofer
2024-11-18 17:08:28 +09:00
parent 35cc6dbf91
commit 9edfc2acb6
17 changed files with 79 additions and 105 deletions

View File

@@ -425,10 +425,7 @@ class Backend
?string $set_content_path = null,
int $flag = 0,
): array {
if (
$set_content_path === null ||
!is_string($set_content_path)
) {
if ($set_content_path === null) {
/** @deprecated adbTopMenu missing set_content_path parameter */
trigger_error(
'Calling adbTopMenu without set_content_path parameter is deprecated',