aboutsummaryrefslogtreecommitdiffstats
path: root/build/.phan
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2025-03-18 14:25:26 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2025-03-18 15:34:28 +0100
commitd5efd17942cc901b82ccc4717b6bf755dc565997 (patch)
tree81e0621f38e5873e55230c56ca3c7a90a7b79f24 /build/.phan
parent9d738f6124fbe66b8e10a05ef596022617b526ac (diff)
downloadnextcloud-server-d5efd17942cc901b82ccc4717b6bf755dc565997.tar.gz
nextcloud-server-d5efd17942cc901b82ccc4717b6bf755dc565997.zip
fix(IMimeTypeDetector): use correct return typefix/IMimeTypeDetector-types
In PHP array keys that are integers are always kept as integer, meaning the type of the key of `$a = ["1" => "one"]` will be integer not string. While are hacks to circumvent this (case std object with string keys to an assoc. array) those hacks are performance wise awefull and also not needed as in PHP you can always access that element with `$a[1]` or `$a["1"]`. So TL;DR;: do not lie about return types. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'build/.phan')
0 files changed, 0 insertions, 0 deletions