diff options
author | Siebrand Mazeland <s.mazeland@xs4all.nl> | 2013-11-16 22:15:17 +0100 |
---|---|---|
committer | IAlex <codereview@emsenhuber.ch> | 2013-11-17 21:47:51 +0000 |
commit | f8f3ddea50e6e5382bd06dff0c975ca4d7c56d29 (patch) | |
tree | 1614d802b40339cddc79805901bbc98c4296ccbc | |
parent | 29b86059736b251162e3ecad21f2f4a2d1bc0bbc (diff) | |
download | mediawikicore-f8f3ddea50e6e5382bd06dff0c975ca4d7c56d29.tar.gz mediawikicore-f8f3ddea50e6e5382bd06dff0c975ca4d7c56d29.zip |
Update docs to reduce inconsistent type compatibility in api/
Change-Id: Iaf97aeb514ddb2176491c3820fe891be8e989939
-rw-r--r-- | includes/Title.php | 4 | ||||
-rw-r--r-- | includes/api/ApiMain.php | 2 | ||||
-rw-r--r-- | includes/api/ApiPageSet.php | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/includes/Title.php b/includes/Title.php index 09c5a3a1d564..4b8a141c5502 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -273,7 +273,7 @@ class Title { /** * Make a Title object from a DB row * - * @param $row Object database row (needs at least page_title,page_namespace) + * @param stdClass $row Object database row (needs at least page_title,page_namespace) * @return Title corresponding Title */ public static function newFromRow( $row ) { @@ -286,7 +286,7 @@ class Title { * Load Title object fields from a DB row. * If false is given, the title will be treated as non-existing. * - * @param $row Object|bool database row + * @param $row stdClass|bool database row */ public function loadFromRow( $row ) { if ( $row ) { // page found diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index c301e9eb7205..9b099569f6c7 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -858,7 +858,7 @@ class ApiMain extends ApiBase { /** * Log the preceding request - * @param $time Time in seconds + * @param int $time Time in seconds */ protected function logRequest( $time ) { $request = $this->getRequest(); diff --git a/includes/api/ApiPageSet.php b/includes/api/ApiPageSet.php index 6c4bb08634a0..e95e680b0359 100644 --- a/includes/api/ApiPageSet.php +++ b/includes/api/ApiPageSet.php @@ -593,7 +593,7 @@ class ApiPageSet extends ApiBase { /** * Extract all requested fields from the row received from the database - * @param $row Result row + * @param stdClass $row Result row */ public function processDbRow( $row ) { // Store Title object in various data structures |