1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[feature/passwords] Add missing documentation to docblocks

Also contains some minor spacing changes.

PHPBB3-11610
This commit is contained in:
Marc Alexander
2013-12-29 17:55:00 +01:00
parent 141bef75cb
commit 8383d1f1d3
6 changed files with 26 additions and 11 deletions

View File

@@ -20,6 +20,7 @@ interface driver_interface
* @return bool True if supported, false if not
*/
public function is_supported();
/**
* Returns the hash prefix
*
@@ -30,7 +31,10 @@ interface driver_interface
/**
* Hash the password
*
* @return string Password hash
* @param string $password The password that should be hashed
*
* @return bool|string Password hash or false if something went wrong
* during hashing
*/
public function hash($password);
@@ -39,6 +43,7 @@ interface driver_interface
*
* @param string $password The password to check
* @param string $hash The password hash to check against
*
* @return bool True if password is correct, else false
*/
public function check($password, $hash);