Add var type to newListItem() parameter
Fixes some "Declaration of $child::method should be compatible with $parent::method" warnings.
This commit is contained in:
@@ -140,7 +140,7 @@ class ConversationTree extends NoticeList
|
||||
*
|
||||
* @return NoticeListItem a list item to show
|
||||
*/
|
||||
function newListItem($notice)
|
||||
function newListItem(Notice $notice)
|
||||
{
|
||||
return new ConversationTreeItem($notice, $this->out);
|
||||
}
|
||||
|
Reference in New Issue
Block a user