X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Flogging%2FNewUsersLogFormatter.php;h=911ab95b9c774ccebf7661d9a41e7a2fe290d6d1;hb=23b8bd2ad010e72e3a9a60dac70b3400266777e7;hp=c870d51946fbc6a1221df237916799b83d7bfe73;hpb=5df5a5b4a8ce61cda82af3c636a9b1f3016e6464;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/NewUsersLogFormatter.php b/includes/logging/NewUsersLogFormatter.php index c870d51946..911ab95b9c 100644 --- a/includes/logging/NewUsersLogFormatter.php +++ b/includes/logging/NewUsersLogFormatter.php @@ -19,7 +19,7 @@ * * @file * @author Niklas Laxström - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * @license GPL-2.0-or-later * @since 1.22 */ @@ -59,10 +59,10 @@ class NewUsersLogFormatter extends LogFormatter { 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 []; } }