shell: Optionally restrict commands' access with firejail
[lhc/web/wiklou.git] / includes / logging / NewUsersLogFormatter.php
index b7068a0..382e4ad 100644 (file)
@@ -60,9 +60,9 @@ class NewUsersLogFormatter extends LogFormatter {
                $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() ) );
+                       return [ Title::makeTitle( NS_USER_TALK, $this->entry->getTarget()->getText() ) ];
                }
 
-               return array();
+               return [];
        }
 }