X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fexception%2FErrorPageError.php;h=2f502d8294556a5af43db70a4fc244c84d6e32a1;hp=6366c746a36c3f155a82f0e374d7a5dfdb54dea7;hb=6e9b4f0e9ce4ccd6089c18b205065ef7fa077484;hpb=2fd379fa95f223c6b3f3c8eff6de068eca9e1a1a diff --git a/includes/exception/ErrorPageError.php b/includes/exception/ErrorPageError.php index 6366c746a3..2f502d8294 100644 --- a/includes/exception/ErrorPageError.php +++ b/includes/exception/ErrorPageError.php @@ -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;