Skip to content

Commit dada722

Browse files
committed
Small fixes
1 parent c7d5cea commit dada722

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

includes/qi.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -848,12 +848,12 @@ public static function get_backtrace()
848848
*
849849
* See http://www.php.net/manual/en/function.version-compare.php
850850
*
851-
* @param string $version1 First version number
852-
* @param string $version2 Second version number
853-
* @param string $operator Comparison operator (optional)
851+
* @param string $version1 First version number
852+
* @param string $version2 Second version number
853+
* @param string $operator Comparison operator (optional)
854854
*
855-
* @return mixed Boolean (true, false) if comparison operator is specified.
856-
* Integer (-1, 0, 1) otherwise.
855+
* @return bool|int Boolean (true, false) if comparison operator is specified.
856+
* Integer (-1, 0, 1) otherwise.
857857
*/
858858
public static function phpbb_version_compare($version1, $version2, $operator = null)
859859
{

includes/qi_version_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class qi_file_downloader
336336
* @param int $port Port to connect to; default: 80
337337
* @param int $timeout Connection timeout in seconds; default: 6
338338
*
339-
* @return mixed File data as string if file can be read and there is no
339+
* @return false|string File data as string if file can be read and there is no
340340
* timeout, false if there were errors or the connection timed out
341341
*
342342
* @throws RuntimeException() If data can't be retrieved and no error

0 commit comments

Comments
 (0)