X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fmedia%2FJpegMetadataExtractor.php;h=81722c6d620e0278aa17be77c47bcf87c3025cbb;hb=39ff927539a929caf44101f671231e4da4e9f87d;hp=5069f18045eb6facee3f159d1260cc9b3233c392;hpb=012248fc5a7d6d0257df1a0feadbda5ae4a477e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/JpegMetadataExtractor.php b/includes/media/JpegMetadataExtractor.php index 5069f18045..81722c6d62 100644 --- a/includes/media/JpegMetadataExtractor.php +++ b/includes/media/JpegMetadataExtractor.php @@ -52,11 +52,11 @@ class JpegMetadataExtractor { $segmentCount = 0; - $segments = array( - 'XMP_ext' => array(), - 'COM' => array(), - 'PSIR' => array(), - ); + $segments = [ + 'XMP_ext' => [], + 'COM' => [], + 'PSIR' => [], + ]; if ( !$filename ) { throw new MWException( "No filename specified for " . __METHOD__ );