Throw NotImplementedException exception for unsupported method call
authorjoshuaruesweg <ruesweg@woltlab.com>
Wed, 27 Jan 2021 11:03:47 +0000 (12:03 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Wed, 27 Jan 2021 11:03:54 +0000 (12:03 +0100)
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php

index 8b09039cf2b4cf5e108b909a361a01706a8010d1..8eb5a7636252d7e9c44ce94d326f5dbcb9dec889 100644 (file)
@@ -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();
     }
 }