Skip to content

Commit

Permalink
merge bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
garak committed Nov 2, 2018
1 parent 37bc4b3 commit 944072e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Metadata/Driver/XmlDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function loadMetadataFromFile(\ReflectionClass $class, $file)
'size' => (string) $field->attributes()->size,
'mimeType' => (string) $field->attributes()->mime_type,
'originalName' => (string) $field->attributes()->original_name,
'dimensions' => $field->attributes()->dimensions,
'dimensions' => (array) $field->attributes()->dimensions,
];

$classMetadata->fields[(string) $field->attributes()->name] = $fieldMetadata;
Expand Down

0 comments on commit 944072e

Please sign in to comment.