1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-21 07:51:33 +02:00

[ticket/16955] Fix another batch of docblocks

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-26 14:50:57 +01:00
parent 96911b7403
commit 5b23dcd606
25 changed files with 93 additions and 75 deletions

View File

@@ -115,7 +115,7 @@ class manager
/**
* Fill algorithm type map
*
* @param \phpbb\di\service_collection $hashing_algorithms
* @param \phpbb\di\service_collection|array $hashing_algorithms
*/
protected function fill_type_map($hashing_algorithms)
{
@@ -154,7 +154,7 @@ class manager
*
* @param string $hash Password hash that should be checked
*
* @return object|bool The hash type object or false if the specified
* @return array|bool|object The hash type object or false if the specified
* type is not supported
*/
public function detect_algorithm($hash)
@@ -276,7 +276,7 @@ class manager
// First find out what kind of hash we're dealing with
$stored_hash_type = $this->detect_algorithm($hash);
if ($stored_hash_type == false)
if (!$stored_hash_type)
{
// Still check MD5 hashes as that is what the installer
// will default to for the admin user