mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Code reformat.
This commit is contained in:
@@ -29,7 +29,7 @@ class AccountId extends BasicConverter implements ConverterInterface
|
|||||||
$account = Auth::user()->accounts()->find($this->value);
|
$account = Auth::user()->accounts()->find($this->value);
|
||||||
|
|
||||||
if (!is_null($account)) {
|
if (!is_null($account)) {
|
||||||
Log::debug('Found ' . $account->accountType->type . ' named "******" with ID: ' . $this->value.' (not mapped) ');
|
Log::debug('Found ' . $account->accountType->type . ' named "******" with ID: ' . $this->value . ' (not mapped) ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -7,9 +7,10 @@ use Crypt;
|
|||||||
use FireflyIII\Exceptions\FireflyException;
|
use FireflyIII\Exceptions\FireflyException;
|
||||||
use FireflyIII\Helpers\Csv\Mapper\MapperInterface;
|
use FireflyIII\Helpers\Csv\Mapper\MapperInterface;
|
||||||
use League\Csv\Reader;
|
use League\Csv\Reader;
|
||||||
|
use Log;
|
||||||
use ReflectionException;
|
use ReflectionException;
|
||||||
use Session;
|
use Session;
|
||||||
use Log;
|
|
||||||
/**
|
/**
|
||||||
* Class Wizard
|
* Class Wizard
|
||||||
*
|
*
|
||||||
@@ -110,6 +111,7 @@ class Wizard implements WizardInterface
|
|||||||
foreach ($fields as $field) {
|
foreach ($fields as $field) {
|
||||||
if (!Session::has($field)) {
|
if (!Session::has($field)) {
|
||||||
Log::error('Session is missing field: ' . $field);
|
Log::error('Session is missing field: ' . $field);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user