Enforce a consistent return type
authorAlexander Ebert <ebert@woltlab.com>
Mon, 20 Dec 2021 15:10:27 +0000 (16:10 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 20 Dec 2021 15:10:27 +0000 (16:10 +0100)
commit483aaee29642513b62a79b39e795b42529a792ef
tree4a32062b39fa925bcfbcaf44ac4b03a11869eefe
parent43426428c6843f9d85fb29bce08a79d09ba852c5
Enforce a consistent return type

The method was designed to always return an array. If the `\base64_code()` fails, it returned `false` instead, which was both unexpected and could fail in PHP 8.1 (autovivification on false, https://wiki.php.net/rfc/autovivification_false)
wcfsetup/install/files/lib/system/html/node/AbstractHtmlNodeProcessor.class.php