From 1246125dfd75cc6cbda2607a77d59a415ed932d0 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 29 Oct 2023 21:25:11 +0100 Subject: [PATCH] refactoring --- phpstan.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index 8941d22e2..11e386760 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -28,7 +28,7 @@ parameters: - '#Cannot assign new offset to array\|string.#' - '#Cannot access offset .* on mixed.#' - '#Cannot access offset .* on array\|int.#' - - '#Parameter \#1 \$haystack of function strpos expects string, int\|string given.#' + - '#Parameter \#1 \$haystack of function str_starts_with expects string, int\|string given.#' - '#Parameter \#1 \$string of function htmlspecialchars expects string, array\|string given.#' - '#Parameter \#1 \$name of function LAM\\ACCOUNTLIST\\search_username expects string, array\|string given.#' - '#Parameter \#1 \$array of function array_keys expects array, mixed given.#'