X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fexception%2FHttpError.php;h=48bc3bd4e143385ca5a56705945d97622c38466a;hb=6e9b4f0e9ce4ccd6089c18b205065ef7fa077484;hp=9211bf8267ea3f7b72137b43619c132ae9f0af05;hpb=2fd379fa95f223c6b3f3c8eff6de068eca9e1a1a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/exception/HttpError.php b/includes/exception/HttpError.php index 9211bf8267..48bc3bd4e1 100644 --- a/includes/exception/HttpError.php +++ b/includes/exception/HttpError.php @@ -88,11 +88,11 @@ class HttpError extends MWException { $content = $content->text(); } - $context = array( + $context = [ 'file' => $this->getFile(), 'line' => $this->getLine(), 'http_code' => $this->httpCode, - ); + ]; $logMsg = "$content ({http_code}) from {file}:{line}";