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,7 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Bunq\Object;
|
||||
|
||||
|
||||
use FireflyIII\Exceptions\FireflyException;
|
||||
/**
|
||||
* Class LabelMonetaryAccount
|
||||
*/
|
||||
@@ -75,7 +75,7 @@ class LabelMonetaryAccount extends BunqObject
|
||||
*/
|
||||
public function toArray(): array
|
||||
{
|
||||
die(sprintf('Cannot convert %s to array.', get_class($this)));
|
||||
throw new FireflyException(sprintf('Cannot convert %s to array.', \get_class($this)));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user