public function getPreloadTitles() {
$subtype = $this->entry->getSubtype();
if ( $subtype === 'create2' || $subtype === 'byemail' ) {
- //add the user talk to LinkBatch for the userLink
- return array( Title::makeTitle( NS_USER_TALK, $this->entry->getTarget()->getText() ) );
+ // add the user talk to LinkBatch for the userLink
+ return [ Title::makeTitle( NS_USER_TALK, $this->entry->getTarget()->getText() ) ];
}
- return array();
+ return [];
}
}