X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flogging%2FNewUsersLogFormatter.php;h=382e4adb5c534cce2ead5b8d777c90ac81bd1213;hb=ba7287fce6d64b72916ae7fe3f3a31c5185347d2;hp=c870d51946fbc6a1221df237916799b83d7bfe73;hpb=da39646ddc98bce9cc1243ab217428e449b5d9ae;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/NewUsersLogFormatter.php b/includes/logging/NewUsersLogFormatter.php index c870d51946..382e4adb5c 100644 --- a/includes/logging/NewUsersLogFormatter.php +++ b/includes/logging/NewUsersLogFormatter.php @@ -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 []; } }