From 0f2e1fbcb21512671cbf2ff65fc7ed9091e9e9c8 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 16 Apr 2011 01:29:39 +0000 Subject: [PATCH] Fix whitespace issues at top of file --- includes/media/IPTC.php | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/includes/media/IPTC.php b/includes/media/IPTC.php index 73a12b22b1..642248242b 100644 --- a/includes/media/IPTC.php +++ b/includes/media/IPTC.php @@ -5,24 +5,24 @@ */ class IPTC { - /** - * This takes the results of iptcparse() and puts it into a - * form that can be handled by mediawiki. Generally called from - * BitmapMetadataHandler::doApp13. - * - * @see http://www.iptc.org/std/IIM/4.1/specification/IIMV4.1.pdf - * - * @param String $data app13 block from jpeg containing iptc/iim data - * @return Array iptc metadata array - */ - static function parse( $rawData ) { - $parsed = iptcparse( $rawData ); - $data = Array(); - if (!is_array($parsed)) { - return $data; - } - - $c = ''; + /** + * This takes the results of iptcparse() and puts it into a + * form that can be handled by mediawiki. Generally called from + * BitmapMetadataHandler::doApp13. + * + * @see http://www.iptc.org/std/IIM/4.1/specification/IIMV4.1.pdf + * + * @param String $data app13 block from jpeg containing iptc/iim data + * @return Array iptc metadata array + */ + static function parse( $rawData ) { + $parsed = iptcparse( $rawData ); + $data = Array(); + if (!is_array($parsed)) { + return $data; + } + + $c = ''; //charset info contained in tag 1:90. if (isset($parsed['1#090']) && isset($parsed['1#090'][0])) { $c = self::getCharset($parsed['1#090'][0]); -- 2.20.1