X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fexception%2FHttpError.php;h=48bc3bd4e143385ca5a56705945d97622c38466a;hb=fbd3835e583f44166f71d174ba32adaf5c3af4b3;hp=9211bf8267ea3f7b72137b43619c132ae9f0af05;hpb=d9859b32cddd76ab7c2e9c17bcd951aa2f6b7fd9;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}";