aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/passwords/driver
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/passwords/driver')
-rw-r--r--phpBB/phpbb/passwords/driver/base.php10
-rw-r--r--phpBB/phpbb/passwords/driver/bcrypt.php8
-rw-r--r--phpBB/phpbb/passwords/driver/bcrypt_2y.php4
-rw-r--r--phpBB/phpbb/passwords/driver/bcrypt_wcf2.php10
-rw-r--r--phpBB/phpbb/passwords/driver/convert_password.php6
-rw-r--r--phpBB/phpbb/passwords/driver/driver_interface.php2
-rw-r--r--phpBB/phpbb/passwords/driver/helper.php4
-rw-r--r--phpBB/phpbb/passwords/driver/md5_mybb.php8
-rw-r--r--phpBB/phpbb/passwords/driver/md5_phpbb2.php12
-rw-r--r--phpBB/phpbb/passwords/driver/md5_vb.php8
-rw-r--r--phpBB/phpbb/passwords/driver/phpass.php2
-rw-r--r--phpBB/phpbb/passwords/driver/salted_md5.php10
-rw-r--r--phpBB/phpbb/passwords/driver/sha1.php8
-rw-r--r--phpBB/phpbb/passwords/driver/sha1_smf.php8
-rw-r--r--phpBB/phpbb/passwords/driver/sha1_wcf1.php8
-rw-r--r--phpBB/phpbb/passwords/driver/sha_xf1.php8
16 files changed, 58 insertions, 58 deletions
diff --git a/phpBB/phpbb/passwords/driver/base.php b/phpBB/phpbb/passwords/driver/base.php
index 1d47180e55..fd07a61bf4 100644
--- a/phpBB/phpbb/passwords/driver/base.php
+++ b/phpBB/phpbb/passwords/driver/base.php
@@ -15,10 +15,10 @@ namespace phpbb\passwords\driver;
abstract class base implements driver_interface
{
- /** @var phpbb\config\config */
+ /** @var \phpbb\config\config */
protected $config;
- /** @var phpbb\passwords\driver\helper */
+ /** @var \phpbb\passwords\driver\helper */
protected $helper;
/** @var driver name */
@@ -37,7 +37,7 @@ abstract class base implements driver_interface
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_supported()
{
@@ -45,7 +45,7 @@ abstract class base implements driver_interface
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -53,7 +53,7 @@ abstract class base implements driver_interface
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_settings_only($hash, $full = false)
{
diff --git a/phpBB/phpbb/passwords/driver/bcrypt.php b/phpBB/phpbb/passwords/driver/bcrypt.php
index de5840c7cf..23add37a56 100644
--- a/phpBB/phpbb/passwords/driver/bcrypt.php
+++ b/phpBB/phpbb/passwords/driver/bcrypt.php
@@ -18,7 +18,7 @@ class bcrypt extends base
const PREFIX = '$2a$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class bcrypt extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $salt = '')
{
@@ -58,7 +58,7 @@ class bcrypt extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
@@ -86,7 +86,7 @@ class bcrypt extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_settings_only($hash, $full = false)
{
diff --git a/phpBB/phpbb/passwords/driver/bcrypt_2y.php b/phpBB/phpbb/passwords/driver/bcrypt_2y.php
index 8b59037fca..c710e0d04a 100644
--- a/phpBB/phpbb/passwords/driver/bcrypt_2y.php
+++ b/phpBB/phpbb/passwords/driver/bcrypt_2y.php
@@ -18,7 +18,7 @@ class bcrypt_2y extends bcrypt
const PREFIX = '$2y$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class bcrypt_2y extends bcrypt
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_supported()
{
diff --git a/phpBB/phpbb/passwords/driver/bcrypt_wcf2.php b/phpBB/phpbb/passwords/driver/bcrypt_wcf2.php
index f706c7af69..2d6f897a7b 100644
--- a/phpBB/phpbb/passwords/driver/bcrypt_wcf2.php
+++ b/phpBB/phpbb/passwords/driver/bcrypt_wcf2.php
@@ -20,7 +20,7 @@ class bcrypt_wcf2 extends base
/** @var \phpbb\passwords\driver\bcrypt */
protected $bcrypt;
- /** @var phpbb\passwords\driver\helper */
+ /** @var \phpbb\passwords\driver\helper */
protected $helper;
/**
@@ -36,7 +36,7 @@ class bcrypt_wcf2 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -44,7 +44,7 @@ class bcrypt_wcf2 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -52,7 +52,7 @@ class bcrypt_wcf2 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -61,7 +61,7 @@ class bcrypt_wcf2 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
diff --git a/phpBB/phpbb/passwords/driver/convert_password.php b/phpBB/phpbb/passwords/driver/convert_password.php
index 45d84f45c0..eb70434df2 100644
--- a/phpBB/phpbb/passwords/driver/convert_password.php
+++ b/phpBB/phpbb/passwords/driver/convert_password.php
@@ -18,7 +18,7 @@ class convert_password extends base
const PREFIX = '$CP$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class convert_password extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -34,7 +34,7 @@ class convert_password extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
diff --git a/phpBB/phpbb/passwords/driver/driver_interface.php b/phpBB/phpbb/passwords/driver/driver_interface.php
index a257e71f23..3974484f13 100644
--- a/phpBB/phpbb/passwords/driver/driver_interface.php
+++ b/phpBB/phpbb/passwords/driver/driver_interface.php
@@ -51,7 +51,7 @@ interface driver_interface
*
* @param string $password The password to check
* @param string $hash The password hash to check against
- * @param string $user_row User's row in users table
+ * @param array $user_row User's row in users table
*
* @return bool True if password is correct, else false
*/
diff --git a/phpBB/phpbb/passwords/driver/helper.php b/phpBB/phpbb/passwords/driver/helper.php
index 85019bd5c9..2b3ebce53a 100644
--- a/phpBB/phpbb/passwords/driver/helper.php
+++ b/phpBB/phpbb/passwords/driver/helper.php
@@ -16,7 +16,7 @@ namespace phpbb\passwords\driver;
class helper
{
/**
- * @var phpbb\config\config
+ * @var \phpbb\config\config
*/
protected $config;
@@ -29,7 +29,7 @@ class helper
/**
* Construct a driver helper object
*
- * @param phpbb\config\config $config phpBB configuration
+ * @param \phpbb\config\config $config phpBB configuration
*/
public function __construct(\phpbb\config\config $config)
{
diff --git a/phpBB/phpbb/passwords/driver/md5_mybb.php b/phpBB/phpbb/passwords/driver/md5_mybb.php
index 0745bceb5e..61ea8dafd8 100644
--- a/phpBB/phpbb/passwords/driver/md5_mybb.php
+++ b/phpBB/phpbb/passwords/driver/md5_mybb.php
@@ -18,7 +18,7 @@ class md5_mybb extends base
const PREFIX = '$md5_mybb$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class md5_mybb extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -34,7 +34,7 @@ class md5_mybb extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -43,7 +43,7 @@ class md5_mybb extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
diff --git a/phpBB/phpbb/passwords/driver/md5_phpbb2.php b/phpBB/phpbb/passwords/driver/md5_phpbb2.php
index de1993e8a1..86a4b62ea5 100644
--- a/phpBB/phpbb/passwords/driver/md5_phpbb2.php
+++ b/phpBB/phpbb/passwords/driver/md5_phpbb2.php
@@ -23,10 +23,10 @@ class md5_phpbb2 extends base
/** @var \phpbb\passwords\driver\salted_md5 */
protected $salted_md5;
- /** @var phpBB root path */
+ /** @var string phpBB root path */
protected $phpbb_root_path;
- /** @var php file extension */
+ /** @var string php file extension */
protected $php_ext;
/**
@@ -46,7 +46,7 @@ class md5_phpbb2 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -54,7 +54,7 @@ class md5_phpbb2 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -62,7 +62,7 @@ class md5_phpbb2 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -71,7 +71,7 @@ class md5_phpbb2 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
diff --git a/phpBB/phpbb/passwords/driver/md5_vb.php b/phpBB/phpbb/passwords/driver/md5_vb.php
index 440b9e39e9..c83c32a596 100644
--- a/phpBB/phpbb/passwords/driver/md5_vb.php
+++ b/phpBB/phpbb/passwords/driver/md5_vb.php
@@ -18,7 +18,7 @@ class md5_vb extends base
const PREFIX = '$md5_vb$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class md5_vb extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -34,7 +34,7 @@ class md5_vb extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -43,7 +43,7 @@ class md5_vb extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
diff --git a/phpBB/phpbb/passwords/driver/phpass.php b/phpBB/phpbb/passwords/driver/phpass.php
index 44d9dc8fab..bef8355276 100644
--- a/phpBB/phpbb/passwords/driver/phpass.php
+++ b/phpBB/phpbb/passwords/driver/phpass.php
@@ -18,7 +18,7 @@ class phpass extends salted_md5
const PREFIX = '$P$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
diff --git a/phpBB/phpbb/passwords/driver/salted_md5.php b/phpBB/phpbb/passwords/driver/salted_md5.php
index b5f59754e1..97a2b9154b 100644
--- a/phpBB/phpbb/passwords/driver/salted_md5.php
+++ b/phpBB/phpbb/passwords/driver/salted_md5.php
@@ -46,7 +46,7 @@ class salted_md5 extends base
const PREFIX = '$H$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -54,7 +54,7 @@ class salted_md5 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -62,7 +62,7 @@ class salted_md5 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $setting = '')
{
@@ -98,7 +98,7 @@ class salted_md5 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
@@ -160,7 +160,7 @@ class salted_md5 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_settings_only($hash, $full = false)
{
diff --git a/phpBB/phpbb/passwords/driver/sha1.php b/phpBB/phpbb/passwords/driver/sha1.php
index 5d6c93f6a8..0852fd32fc 100644
--- a/phpBB/phpbb/passwords/driver/sha1.php
+++ b/phpBB/phpbb/passwords/driver/sha1.php
@@ -18,7 +18,7 @@ class sha1 extends base
const PREFIX = '$sha1$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class sha1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -34,7 +34,7 @@ class sha1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -43,7 +43,7 @@ class sha1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
diff --git a/phpBB/phpbb/passwords/driver/sha1_smf.php b/phpBB/phpbb/passwords/driver/sha1_smf.php
index 3e3322d77f..ec64bd6afb 100644
--- a/phpBB/phpbb/passwords/driver/sha1_smf.php
+++ b/phpBB/phpbb/passwords/driver/sha1_smf.php
@@ -18,7 +18,7 @@ class sha1_smf extends base
const PREFIX = '$smf$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class sha1_smf extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -34,7 +34,7 @@ class sha1_smf extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -42,7 +42,7 @@ class sha1_smf extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
diff --git a/phpBB/phpbb/passwords/driver/sha1_wcf1.php b/phpBB/phpbb/passwords/driver/sha1_wcf1.php
index 04a69705e9..919fa2bb71 100644
--- a/phpBB/phpbb/passwords/driver/sha1_wcf1.php
+++ b/phpBB/phpbb/passwords/driver/sha1_wcf1.php
@@ -18,7 +18,7 @@ class sha1_wcf1 extends base
const PREFIX = '$wcf1$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class sha1_wcf1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -34,7 +34,7 @@ class sha1_wcf1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -43,7 +43,7 @@ class sha1_wcf1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{
diff --git a/phpBB/phpbb/passwords/driver/sha_xf1.php b/phpBB/phpbb/passwords/driver/sha_xf1.php
index 7ae0b90f51..7a1ea1450a 100644
--- a/phpBB/phpbb/passwords/driver/sha_xf1.php
+++ b/phpBB/phpbb/passwords/driver/sha_xf1.php
@@ -18,7 +18,7 @@ class sha_xf1 extends base
const PREFIX = '$xf1$';
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function get_prefix()
{
@@ -26,7 +26,7 @@ class sha_xf1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function is_legacy()
{
@@ -34,7 +34,7 @@ class sha_xf1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function hash($password, $user_row = '')
{
@@ -43,7 +43,7 @@ class sha_xf1 extends base
}
/**
- * @inheritdoc
+ * {@inheritdoc}
*/
public function check($password, $hash, $user_row = array())
{