[ticket/16955] Improve minor docblock quirks

PHPBB3-16955
This commit is contained in:
Marc Alexander 2022-12-26 13:55:36 +01:00
parent ea07e4946f
commit cd026245fe
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
3 changed files with 4 additions and 4 deletions

View file

@ -1527,8 +1527,8 @@ function truncate_string($string, $max_length = 60, $max_store_length = 255, $al
* @param int $user_id The users id * @param int $user_id The users id
* @param string $username The users name * @param string $username The users name
* @param string $username_colour The users colour * @param string $username_colour The users colour
* @param string $guest_username optional parameter to specify the guest username. It will be used in favor of the GUEST language variable then. * @param string|false $guest_username optional parameter to specify the guest username. It will be used in favor of the GUEST language variable then.
* @param string $custom_profile_url optional parameter to specify a profile url. The user id get appended to this url as &u={user_id} * @param string|false $custom_profile_url optional parameter to specify a profile url. The user id get appended to this url as &u={user_id}
* *
* @return string A string consisting of what is wanted based on $mode. * @return string A string consisting of what is wanted based on $mode.
*/ */

View file

@ -1490,7 +1490,7 @@ function watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id,
* Get user rank title and image * Get user rank title and image
* *
* @param array $user_data the current stored users data * @param array $user_data the current stored users data
* @param int $user_posts the users number of posts * @param int|false $user_posts the users number of posts or false if guest
* *
* @return array An associative array containing the rank title (title), the rank image as full img tag (img) and the rank image source (img_src) * @return array An associative array containing the rank title (title), the rank image as full img tag (img) and the rank image source (img_src)
* *

View file

@ -291,7 +291,7 @@ interface driver_interface
/** /**
* Get last inserted id after insert statement * Get last inserted id after insert statement
* *
* @return string Autoincrement value of the last inserted row * @return int|false Autoincrement value of the last inserted row
*/ */
public function sql_nextid(); public function sql_nextid();