From: Alexander Ebert Date: Fri, 8 Mar 2019 17:18:27 +0000 (+0100) Subject: Incorrect return type X-Git-Tag: 5.2.0_Alpha_1~228^2~1^2^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3d08e3366eb126d5bfc2fe3d02fc4e31eb43f745;p=GitHub%2FWoltLab%2FWCF.git Incorrect return type --- diff --git a/wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php b/wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php index dac70e12de..0be5fbfa56 100644 --- a/wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php +++ b/wcfsetup/install/files/lib/data/blacklist/entry/BlacklistEntry.class.php @@ -28,7 +28,7 @@ class BlacklistEntry extends DatabaseObject { */ public static function getMatches($username, $email, $ipAddress) { if (BLACKLIST_SFS_USERNAME === 'skip' && BLACKLIST_SFS_EMAIL_ADDRESS === 'skip' && BLACKLIST_SFS_IP_ADDRESS === 'skip') { - return false; + return []; } $conditions = new PreparedStatementConditionBuilder(true, 'OR');