mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 05:03:13 +00:00
Code clean up.
This commit is contained in:
@@ -49,6 +49,4 @@ class BunqId
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Bunq\Id;
|
||||
|
||||
|
||||
/**
|
||||
* Class DeviceServerId
|
||||
*
|
||||
@@ -32,5 +31,4 @@ namespace FireflyIII\Services\Bunq\Id;
|
||||
*/
|
||||
class DeviceServerId extends BunqId
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Bunq\Id;
|
||||
|
||||
|
||||
/**
|
||||
* Class DeviceSessionId
|
||||
*
|
||||
@@ -31,5 +30,4 @@ namespace FireflyIII\Services\Bunq\Id;
|
||||
*/
|
||||
class DeviceSessionId extends BunqId
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Bunq\Id;
|
||||
|
||||
|
||||
/**
|
||||
* Class InstallationId
|
||||
*
|
||||
@@ -31,5 +30,4 @@ namespace FireflyIII\Services\Bunq\Id;
|
||||
*/
|
||||
class InstallationId extends BunqId
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -74,6 +74,4 @@ class Alias extends BunqObject
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -63,6 +63,4 @@ class Amount extends BunqObject
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -30,5 +30,4 @@ namespace FireflyIII\Services\Bunq\Object;
|
||||
*/
|
||||
class Avatar extends BunqObject
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -30,5 +30,4 @@ namespace FireflyIII\Services\Bunq\Object;
|
||||
*/
|
||||
class BunqObject
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Bunq\Object;
|
||||
|
||||
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Services\Bunq\Id\DeviceServerId;
|
||||
|
||||
@@ -69,6 +68,4 @@ class DeviceServer extends BunqObject
|
||||
{
|
||||
return $this->ip;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -159,5 +159,4 @@ class MonetaryAccountBank extends BunqObject
|
||||
{
|
||||
return $this->setting;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -51,5 +51,4 @@ class MonetaryAccountProfile extends BunqObject
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -74,6 +74,4 @@ class MonetaryAccountSetting extends BunqObject
|
||||
{
|
||||
return $this->restrictionChat;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -38,5 +38,4 @@ class NotificationFilter extends BunqObject
|
||||
public function __construct(array $data)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -58,6 +58,4 @@ class ServerPublicKey extends BunqObject
|
||||
{
|
||||
$this->publicKey = $publicKey;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -102,7 +102,6 @@ class UserCompany extends BunqObject
|
||||
$this->sectorOfIndustry = $data['sector_of_industry'] ?? '';
|
||||
$this->counterBankIban = $data['counter_bank_iban'];
|
||||
$this->name = $data['name'];
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -112,6 +111,4 @@ class UserCompany extends BunqObject
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -77,5 +77,4 @@ class UserLight extends BunqObject
|
||||
$this->legalName = $data['legal_name'];
|
||||
// aliases
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -147,6 +147,4 @@ class UserPerson extends BunqObject
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Bunq\Request;
|
||||
|
||||
|
||||
use FireflyIII\Services\Bunq\Id\DeviceSessionId;
|
||||
use FireflyIII\Services\Bunq\Object\UserCompany;
|
||||
use FireflyIII\Services\Bunq\Object\UserPerson;
|
||||
@@ -155,6 +154,4 @@ class DeviceSessionRequest extends BunqRequest
|
||||
|
||||
return $userPerson;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -108,7 +108,6 @@ class InstallationTokenRequest extends BunqRequest
|
||||
$installationId->setId(intval($data['id']));
|
||||
|
||||
return $installationId;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -118,7 +117,6 @@ class InstallationTokenRequest extends BunqRequest
|
||||
*/
|
||||
private function extractInstallationToken(array $response): InstallationToken
|
||||
{
|
||||
|
||||
$data = $this->getKeyFromResponse('Token', $response);
|
||||
$installationToken = new InstallationToken($data);
|
||||
|
||||
|
||||
@@ -86,5 +86,4 @@ class ListMonetaryAccountRequest extends BunqRequest
|
||||
{
|
||||
$this->userId = $userId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Bunq\Token;
|
||||
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
||||
/**
|
||||
@@ -96,5 +95,4 @@ class BunqToken
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -30,6 +30,4 @@ namespace FireflyIII\Services\Bunq\Token;
|
||||
*/
|
||||
class InstallationToken extends BunqToken
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -32,5 +32,4 @@ namespace FireflyIII\Services\Bunq\Token;
|
||||
*/
|
||||
class SessionToken extends BunqToken
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Currency;
|
||||
|
||||
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Models\CurrencyExchangeRate;
|
||||
use FireflyIII\Models\TransactionCurrency;
|
||||
@@ -46,5 +45,4 @@ interface ExchangeRateInterface
|
||||
* @return mixed
|
||||
*/
|
||||
public function setUser(User $user);
|
||||
|
||||
}
|
||||
|
||||
@@ -23,7 +23,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Services\Currency;
|
||||
|
||||
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Models\CurrencyExchangeRate;
|
||||
use FireflyIII\Models\TransactionCurrency;
|
||||
|
||||
@@ -38,5 +38,4 @@ interface Verifier
|
||||
* @return bool
|
||||
*/
|
||||
public function validPassword(string $password): bool;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user