@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * This method returns the name of the directory where PGT's should be stored |
| 62 | 62 | * on the filesystem. |
| 63 | 63 | * |
| 64 | - * @return the name of a directory (with leading and trailing '/') |
|
| 64 | + * @return string name of a directory (with leading and trailing '/') |
|
| 65 | 65 | * |
| 66 | 66 | * @private |
| 67 | 67 | */ |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * This method returns the format to use when storing PGT's on the filesystem. |
| 83 | 83 | * |
| 84 | - * @return a string corresponding to the format used (plain or xml). |
|
| 84 | + * @return string string corresponding to the format used (plain or xml). |
|
| 85 | 85 | * |
| 86 | 86 | * @private |
| 87 | 87 | */ |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | /** |
| 57 | 57 | * The constructor of the class, should be called only by inherited classes. |
| 58 | 58 | * |
| 59 | - * @param $cas_parent the CASclient instance that creates the current object. |
|
| 59 | + * @param CASClient $cas_parent the CASclient instance that creates the current object. |
|
| 60 | 60 | * |
| 61 | 61 | * @protected |
| 62 | 62 | */ |
@@ -242,6 +242,9 @@ |
||
| 242 | 242 | return $hmac; |
| 243 | 243 | } |
| 244 | 244 | |
| 245 | +/** |
|
| 246 | + * @param string|false $text |
|
| 247 | + */ |
|
| 245 | 248 | function _openid_sha1($text) { |
| 246 | 249 | $hex = sha1($text); |
| 247 | 250 | $raw = ''; |