mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
First part of a large code cleanup commit.
This commit is contained in:
@@ -152,7 +152,7 @@ class NewYnabJobHandler implements YnabJobConfigurationInterface
|
||||
|
||||
$client = new Client();
|
||||
try {
|
||||
$res = $client->request('post', $uri, []);
|
||||
$res = $client->request('post', $uri);
|
||||
} catch (GuzzleException $e) {
|
||||
Log::error($e->getMessage());
|
||||
Log::error($e->getTraceAsString());
|
||||
|
||||
@@ -88,7 +88,7 @@ class SelectAccountsHandler implements YnabJobConfigurationInterface
|
||||
// validate each
|
||||
$ynabId = $this->validYnabAccount($ynabId);
|
||||
$accountId = $this->validLocalAccount((int)$localId);
|
||||
if ($accountId !== 0) {
|
||||
if (0 !== $accountId) {
|
||||
$final[$ynabId] = $accountId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user