@@ -116,7 +116,7 @@ |
||
| 116 | 116 | * @param string $class |
| 117 | 117 | * @param string $key |
| 118 | 118 | * @param string $value Expected value |
| 119 | - * @return boolean |
|
| 119 | + * @return boolean|null |
|
| 120 | 120 | */ |
| 121 | 121 | public static function config_value_equals($class, $key, $value) { |
| 122 | 122 | $check = self::get_config_value($class, $key); |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | * Get the commenting option for the current state |
| 121 | 121 | * |
| 122 | 122 | * @param string $key |
| 123 | - * @return mixed Result if the setting is available, or null otherwise |
|
| 123 | + * @return integer Result if the setting is available, or null otherwise |
|
| 124 | 124 | */ |
| 125 | 125 | public function getOption($key) { |
| 126 | 126 | // If possible use the current record |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | /** |
| 317 | 317 | * Checks if the comment can be edited. |
| 318 | 318 | * |
| 319 | - * @param null|int|Member $member |
|
| 319 | + * @param DataObject|null $member |
|
| 320 | 320 | * |
| 321 | 321 | * @return Boolean |
| 322 | 322 | */ |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | /** |
| 347 | 347 | * Checks if the comment can be deleted. |
| 348 | 348 | * |
| 349 | - * @param null|int|Member $member |
|
| 349 | + * @param Member|null $member |
|
| 350 | 350 | * |
| 351 | 351 | * @return Boolean |
| 352 | 352 | */ |
@@ -369,7 +369,7 @@ discard block |
||
| 369 | 369 | * Resolves Member object. |
| 370 | 370 | * |
| 371 | 371 | * @param Member|int|null $member |
| 372 | - * @return Member|null |
|
| 372 | + * @return DataObject|null |
|
| 373 | 373 | */ |
| 374 | 374 | protected function getMember($member = null) { |
| 375 | 375 | if(!$member) { |