summaryrefslogtreecommitdiffstats
path: root/test/t1200-git-serve.sh
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-02-12 21:16:38 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2020-02-13 09:11:34 +0100
commit050b08081a48887bcf03e9d943a1370aac949518 (patch)
treeae79f0d6f2fcd8778914aa63c8d7c3663b5228f3 /test/t1200-git-serve.sh
parent5ca1e271f9023b41b613313745bc700dc15d802f (diff)
downloadaur-050b08081a48887bcf03e9d943a1370aac949518.tar.gz
aur-050b08081a48887bcf03e9d943a1370aac949518.tar.xz
Fix more PHP 7.4 warnings
The try_login() function documents it returns an array containing an 'error' key, and our only caller *only* consults the 'error' key. Then the function returns null instead of an array, if the login succeeded! I question why we bother returning the new SID if we never use it, surely we could either return the error or return default null. But, for now, I'm just going to fix it to return what it's actually supposed to, without changing the API. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'test/t1200-git-serve.sh')
0 files changed, 0 insertions, 0 deletions