Skip to content

Commit 50737da

Browse files
committed
Merge pull request phpbb#4246 from RMcGirr83/ticket_13625
[ticket/13625] Fix types of properties
2 parents 5e96738 + 9b94eaa commit 50737da

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

phpBB/viewforum.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,15 +424,16 @@
424424
* @event core.viewforum_get_topic_data
425425
* @var array forum_data Array with forum data
426426
* @var array sql_array The SQL array to get the data of all topics
427-
* @var array forum_id The forum_id whose topics are being listed
428-
* @var array topics_count The total number of topics for display
429-
* @var array sort_days The oldest topic displayable in elapsed days
430-
* @var array sort_key The sorting by. It is one of the first character of (in low case):
427+
* @var int forum_id The forum_id whose topics are being listed
428+
* @var int topics_count The total number of topics for display
429+
* @var int sort_days The oldest topic displayable in elapsed days
430+
* @var string sort_key The sorting by. It is one of the first character of (in low case):
431431
* Author, Post time, Replies, Subject, Views
432-
* @var array sort_dir Either "a" for ascending or "d" for descending
432+
* @var string sort_dir Either "a" for ascending or "d" for descending
433433
* @since 3.1.0-a1
434434
* @change 3.1.0-RC4 Added forum_data var
435435
* @change 3.1.4-RC1 Added forum_id, topics_count, sort_days, sort_key and sort_dir vars
436+
* @change 3.1.9-RC1 Fix types of properties
436437
*/
437438
$vars = array(
438439
'forum_data',

0 commit comments

Comments
 (0)