Convert all array() syntax to []
[lhc/web/wiklou.git] / includes / exception / ErrorPageError.php
index 6366c74..2f502d8 100644 (file)
@@ -34,7 +34,7 @@ class ErrorPageError extends MWException {
         * @param string|Message $msg Message key (string) for error text, or a Message object
         * @param array $params Array with parameters to wfMessage()
         */
-       public function __construct( $title, $msg, $params = array() ) {
+       public function __construct( $title, $msg, $params = [] ) {
                $this->title = $title;
                $this->msg = $msg;
                $this->params = $params;