@@ -17,7 +17,6 @@ |
||
17 | 17 | /** |
18 | 18 | * setup the base application environment. |
19 | 19 | * |
20 | - * @param \Base $f3 |
|
21 | 20 | * @return void |
22 | 21 | */ |
23 | 22 | public static function start() |
@@ -43,7 +43,6 @@ discard block |
||
43 | 43 | * |
44 | 44 | * @param string $string to salt |
45 | 45 | * @param string $pepper string pepper to add to the salted string for extra security |
46 | - * @param string $salt string if not default security.salt config item |
|
47 | 46 | * @return string $encoded |
48 | 47 | * @link http://php.net/manual/en/function.hash-hmac.php |
49 | 48 | * @link http://fatfreeframework.com/base#hash |
@@ -76,7 +75,7 @@ discard block |
||
76 | 75 | * @param string $hashed_password a hashed password |
77 | 76 | * @param string $string to salt |
78 | 77 | * @param string $pepper string pepper to add to the salted string for extra security |
79 | - * @return boolean success on match |
|
78 | + * @return string success on match |
|
80 | 79 | */ |
81 | 80 | public static function passwordVerify(string $hashed_password, string $string, string $pepper = ''): string |
82 | 81 | { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * @param $value |
68 | 68 | * @param array $param |
69 | 69 | * |
70 | - * @return type |
|
70 | + * @return string |
|
71 | 71 | */ |
72 | 72 | public function filter_lower($value, $param = null) |
73 | 73 | { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * @param $value |
85 | 85 | * @param array $param |
86 | 86 | * |
87 | - * @return type |
|
87 | + * @return string |
|
88 | 88 | */ |
89 | 89 | public function filter_upper($value, $param = null) |
90 | 90 | { |