X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fmedia%2FJpegMetadataExtractor.php;h=81722c6d620e0278aa17be77c47bcf87c3025cbb;hb=58cb1f824ac75c3b58ba19d1e88c1b38f9dc1fab;hp=5069f18045eb6facee3f159d1260cc9b3233c392;hpb=d24b74ce2db24799dbaa2abe0277a48694ad2ebd;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__ );