From: joshuaruesweg Date: Wed, 27 Jan 2021 11:03:47 +0000 (+0100) Subject: Throw NotImplementedException exception for unsupported method call X-Git-Tag: 5.4.0_Alpha_1~359 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e31f5c5998a3dd75bcb89b4b28e2828b5b61892;p=GitHub%2FWoltLab%2FWCF.git Throw NotImplementedException exception for unsupported method call --- diff --git a/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php b/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php index 8b09039cf2..8eb5a76362 100644 --- a/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php +++ b/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php @@ -2,6 +2,7 @@ namespace wcf\system\user\authentication\password\algorithm; +use wcf\system\exception\NotImplementedException; use wcf\system\user\authentication\password\IPasswordAlgorithm; /** @@ -72,6 +73,6 @@ final class Phpbb3 implements IPasswordAlgorithm public function hash(string $password): string { - return ''; + throw new NotImplementedException(); } }