Skip to content

Commit ff6485c

Browse files
author
Tom Van Herreweghe
committed
Moved test classes to new directory structure to correctly reflect SUT
Signed-off-by: Tom Van Herreweghe <tom@king-foo.be>
1 parent 1bb211e commit ff6485c

File tree

6 files changed

+2
-0
lines changed

6 files changed

+2
-0
lines changed

lib/PHPExif/Adapter/Exiftool.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ public function getExifFromFile($file)
108108
$data = json_decode($result, true);
109109
$mappedData = $this->mapData(reset($data));
110110
$exif = new Exif($mappedData);
111+
$exif->setRawData(reset($data));
111112

112113
return $exif;
113114
}

lib/PHPExif/Adapter/Native.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ public function getExifFromFile($file)
191191
$data = array_merge($data, array(self::SECTION_IPTC => $xmpData));
192192
$mappedData = $this->mapData($data);
193193
$exif = new Exif($mappedData);
194+
$exif->setRawData($data);
194195

195196
return $exif;
196197
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)