@@ -174,7 +174,7 @@ |
||
| 174 | 174 | * Sign a string with a given key and algorithm. |
| 175 | 175 | * |
| 176 | 176 | * @param string $msg The message to sign |
| 177 | - * @param string|resource $key The secret key |
|
| 177 | + * @param string $key The secret key |
|
| 178 | 178 | * @param string $alg The signing algorithm. |
| 179 | 179 | * Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256' |
| 180 | 180 | * |