Fix several issues with bunq import #1330

This commit is contained in:
James Cole
2018-04-10 21:18:38 +02:00
parent 0847040017
commit 90cf7a3bf5
22 changed files with 243 additions and 69 deletions

View File

@@ -25,6 +25,8 @@ namespace FireflyIII\Services\Bunq\Object;
use Carbon\Carbon;
use FireflyIII\Services\Bunq\Id\DeviceServerId;
use FireflyIII\Exceptions\FireflyException;
/**
* Class DeviceServer
*/
@@ -82,6 +84,6 @@ class DeviceServer 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)));
}
}