@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Xmf\Jwt; |
| 13 | 13 | |
| 14 | 14 | use Xmf\Key\KeyAbstract; |
| 15 | -use Xmf\Key\StorageInterface; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * Build a token |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Validate and decode a JSON Web Token string from a cookie |
| 50 | 50 | * |
| 51 | - * @param KeyAbstract|string $key the key to use to sign the token, or name of key to build |
|
| 51 | + * @param string $key the key to use to sign the token, or name of key to build |
|
| 52 | 52 | * @param string $cookieName name of cookie that sources the token |
| 53 | 53 | * @param array|\Traversable $assertClaims traversable set of claims, claim => value, to assert |
| 54 | 54 | * |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | /** |
| 162 | 162 | * Delete all permissions for an item and a specific name or array of names |
| 163 | 163 | * |
| 164 | - * @param string|string[] $gperm_name name(s) of the permission to delete |
|
| 164 | + * @param string $gperm_name name(s) of the permission to delete |
|
| 165 | 165 | * @param int $gperm_itemid id of the object to check |
| 166 | 166 | * |
| 167 | 167 | * @return bool true if no errors |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | * @param int $size size of list |
| 193 | 193 | * @param bool $multiple true to allow multiple selections |
| 194 | 194 | * |
| 195 | - * @return object XoopsFormSelectGroup |
|
| 195 | + * @return \XoopsFormSelectGroup XoopsFormSelectGroup |
|
| 196 | 196 | */ |
| 197 | 197 | public function getGroupSelectFormForItem( |
| 198 | 198 | $gperm_name, |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * @param integer $inline Nesting level where you switch to inline YAML |
| 45 | 45 | * @param integer $indent Number of spaces to indent for nested nodes |
| 46 | 46 | * |
| 47 | - * @return string|bool YAML string or false on error |
|
| 47 | + * @return string|false YAML string or false on error |
|
| 48 | 48 | */ |
| 49 | 49 | public static function dump($var, $inline = 4, $indent = 4) |
| 50 | 50 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | * @param integer $inline Nesting level where you switch to inline YAML |
| 129 | 129 | * @param integer $indent Number of spaces to indent for nested nodes |
| 130 | 130 | * |
| 131 | - * @return string|boolean YAML string or false on error |
|
| 131 | + * @return string|false YAML string or false on error |
|
| 132 | 132 | */ |
| 133 | 133 | public static function dumpWrapped($var, $inline = 4, $indent = 4) |
| 134 | 134 | { |