X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flogging%2FUploadLogFormatter.php;h=6c5367172f4f17260ee4a9511b62f0459cd0eba0;hb=f43fa6f4f0e2cb60b8543daad661b48a3e0653a9;hp=52961dc4aa1eb36d28455683138c588dabb0e754;hpb=9c092814c7f275db78a6ed769aa76fdd87709c60;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/logging/UploadLogFormatter.php b/includes/logging/UploadLogFormatter.php index 52961dc4aa..6c5367172f 100644 --- a/includes/logging/UploadLogFormatter.php +++ b/includes/logging/UploadLogFormatter.php @@ -33,9 +33,9 @@ class UploadLogFormatter extends LogFormatter { $entry = $this->entry; $params = $entry->getParameters(); - static $map = array( + static $map = [ 'img_timestamp' => ':timestamp:img_timestamp', - ); + ]; foreach ( $map as $index => $key ) { if ( isset( $params[$index] ) ) { $params[$key] = $params[$index];