@@ -43,6 +43,7 @@ |
||
| 43 | 43 | * @param String $action The action name. |
| 44 | 44 | * @param Integer|bool $user_id The user identifier. Defaults to `false`. |
| 45 | 45 | * @param Integer $exp Expiration time in seconds. |
| 46 | + * @return string|boolean |
|
| 46 | 47 | */ |
| 47 | 48 | public function generate( $action, $user_id = false, $exp = 600 ) { |
| 48 | 49 | if ( false === $user_id ) { |
@@ -138,7 +138,7 @@ |
||
| 138 | 138 | * Extract the index and count from a prerelease string. |
| 139 | 139 | * |
| 140 | 140 | * @param string|null $s String. |
| 141 | - * @return array Two elements: index and count. |
|
| 141 | + * @return integer[] Two elements: index and count. |
|
| 142 | 142 | * @throws InvalidArgumentException If the string is invalid. |
| 143 | 143 | */ |
| 144 | 144 | private function parsePrerelease( $s ) { |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | /** |
| 907 | 907 | * Settings Checkbox. |
| 908 | 908 | * |
| 909 | - * @param mixed $name Name. |
|
| 909 | + * @param string $name Name. |
|
| 910 | 910 | * @param mixed $label_text Label Text. |
| 911 | 911 | * @param string $extra_text (default: '') Extra text. |
| 912 | 912 | * @param bool $default_to_checked (default: true) Default Checked. |
@@ -929,7 +929,7 @@ discard block |
||
| 929 | 929 | /** |
| 930 | 930 | * Select Settings. |
| 931 | 931 | * |
| 932 | - * @param mixed $name Name. |
|
| 932 | + * @param string $name Name. |
|
| 933 | 933 | * @param array $values setting values. |
| 934 | 934 | * @param string $extra_text (default: '') Extra text to display. |
| 935 | 935 | */ |