aboutsummaryrefslogtreecommitdiffstats
path: root/includes/search/PrefixSearch.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2025-03-31 22:01:46 +0200
committerUmherirrender <umherirrender_de.wp@web.de>2025-03-31 22:01:46 +0200
commit9fd9fe48e33221a663e8cc78b3fd920e4a3b184c (patch)
tree5b545b7bd86ad8c079d65208af47cc73d72ce322 /includes/search/PrefixSearch.php
parentc84ab6d428a7f69ef6305cb9ba10df89d0ef2e2e (diff)
downloadmediawikicore-9fd9fe48e33221a663e8cc78b3fd920e4a3b184c.tar.gz
mediawikicore-9fd9fe48e33221a663e8cc78b3fd920e4a3b184c.zip
logging: Always declare variables in RightsLogFormatter group formatting
Setting conditional variable (and use it under the same conditional), makes it hard for phan to see the correct type for the variables. phan fails with "Suspicious array access" when formatDate() gets a return type declaration `array`. Unpack the array in the foreach and use the same variable to check. Change-Id: I8408d10774cdf96ee59c0f1de3729aa41d2602b6
Diffstat (limited to 'includes/search/PrefixSearch.php')
0 files changed, 0 insertions, 0 deletions