Add var type to newListItem() parameter

Fixes some "Declaration of $child::method should be compatible with
$parent::method" warnings.
This commit is contained in:
Chimo
2017-03-16 22:57:16 -04:00
parent 8b8e2825e3
commit dc7c64592b
11 changed files with 11 additions and 11 deletions

View File

@@ -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);
}