@@ -125,7 +125,7 @@ |
||
125 | 125 | * @param string $class |
126 | 126 | * @param string $key |
127 | 127 | * @param string $value Expected value |
128 | - * @return boolean |
|
128 | + * @return boolean|null |
|
129 | 129 | */ |
130 | 130 | public static function config_value_equals($class, $key, $value) |
131 | 131 | { |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * Get the commenting option for the current state |
127 | 127 | * |
128 | 128 | * @param string $key |
129 | - * @return mixed Result if the setting is available, or null otherwise |
|
129 | + * @return integer Result if the setting is available, or null otherwise |
|
130 | 130 | */ |
131 | 131 | public function getOption($key) |
132 | 132 | { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | * |
207 | 207 | * @param string $key |
208 | 208 | * |
209 | - * @return mixed Result if the setting is available, or null otherwise |
|
209 | + * @return integer Result if the setting is available, or null otherwise |
|
210 | 210 | */ |
211 | 211 | public function getOption($key) |
212 | 212 | { |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | /** |
334 | 334 | * Checks if the comment can be edited. |
335 | 335 | * |
336 | - * @param null|int|Member $member |
|
336 | + * @param DataObject|null $member |
|
337 | 337 | * |
338 | 338 | * @return Boolean |
339 | 339 | */ |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | /** |
365 | 365 | * Checks if the comment can be deleted. |
366 | 366 | * |
367 | - * @param null|int|Member $member |
|
367 | + * @param Member|null $member |
|
368 | 368 | * |
369 | 369 | * @return Boolean |
370 | 370 | */ |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | * Resolves Member object. |
389 | 389 | * |
390 | 390 | * @param Member|int|null $member |
391 | - * @return Member|null |
|
391 | + * @return DataObject|null |
|
392 | 392 | */ |
393 | 393 | protected function getMember($member = null) |
394 | 394 | { |