@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | * @param integer $value The new value to update. |
| 24 | 24 | * @param integer|array $report_id The affected report(s). |
| 25 | 25 | * |
| 26 | - * @return bool |
|
| 26 | + * @return false|null |
|
| 27 | 27 | */ |
| 28 | 28 | function updateReport($action, $value, $report_id) |
| 29 | 29 | { |
@@ -564,7 +564,7 @@ discard block |
||
| 564 | 564 | * |
| 565 | 565 | * @param int $report_id The report ID is used to fire a notification about the event. |
| 566 | 566 | * @param array $data a formatted array of data to be inserted. Should be already properly sanitized. |
| 567 | - * @return bool Boolean false if no data was provided. |
|
| 567 | + * @return false|null Boolean false if no data was provided. |
|
| 568 | 568 | */ |
| 569 | 569 | function saveModComment($report_id, $data) |
| 570 | 570 | { |
@@ -656,7 +656,7 @@ discard block |
||
| 656 | 656 | * Deletes a moderator comment from the DB. |
| 657 | 657 | * |
| 658 | 658 | * @param int $comment_id The moderator comment ID used to identify which report will be deleted. |
| 659 | - * @return bool Boolean false if no data was provided. |
|
| 659 | + * @return false|null Boolean false if no data was provided. |
|
| 660 | 660 | */ |
| 661 | 661 | function deleteModComment($comment_id) |
| 662 | 662 | { |
@@ -500,7 +500,7 @@ discard block |
||
| 500 | 500 | /** |
| 501 | 501 | * Returns the amount of affected rows for a query. |
| 502 | 502 | * |
| 503 | - * @param mixed $result |
|
| 503 | + * @param resource|null $result |
|
| 504 | 504 | * |
| 505 | 505 | * @return int |
| 506 | 506 | * |
@@ -869,7 +869,7 @@ discard block |
||
| 869 | 869 | * |
| 870 | 870 | * @param string $db_name The database name |
| 871 | 871 | * @param resource $db_connection The database connection |
| 872 | - * @return true Always returns true |
|
| 872 | + * @return boolean Always returns true |
|
| 873 | 873 | */ |
| 874 | 874 | function smf_db_select_db($db_name, $db_connection) |
| 875 | 875 | { |