Merge "Http::getProxy() method to get proxy configuration"
[lhc/web/wiklou.git] / includes / logging / NewUsersLogFormatter.php
index c870d51..382e4ad 100644 (file)
@@ -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 [];
        }
 }