mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix several issues with bunq import #1330
This commit is contained in:
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Bunq\Object;
|
||||
|
||||
|
||||
/**
|
||||
* Class Image
|
||||
*/
|
||||
@@ -56,7 +55,12 @@ class Image extends BunqObject
|
||||
*/
|
||||
public function toArray(): array
|
||||
{
|
||||
die(sprintf('Cannot convert %s to array.', get_class($this)));
|
||||
return [
|
||||
'attachment_public_uuid' => $this->attachmentPublicUuid,
|
||||
'height' => $this->height,
|
||||
'width' => $this->width,
|
||||
'content_type' => $this->contentType,
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user