mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Replace \get_class with get_class
This commit is contained in:
@@ -58,7 +58,7 @@ class PaymentConverter
|
||||
$this->importJobRepos = app(ImportJobRepositoryInterface::class);
|
||||
$this->accountFactory = app(AccountFactory::class);
|
||||
if ('testing' === config('app.env')) {
|
||||
Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));
|
||||
Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -111,7 +111,7 @@ class StageNewHandler
|
||||
// @codeCoverageIgnoreEnd
|
||||
if (null !== $object) {
|
||||
$array = null;
|
||||
switch (\get_class($object)) {
|
||||
switch (get_class($object)) {
|
||||
case MonetaryAccountBank::class:
|
||||
Log::debug('Going to convert a MonetaryAccountBank');
|
||||
/** @var MonetaryAccountBank $object */
|
||||
@@ -135,7 +135,7 @@ class StageNewHandler
|
||||
break;
|
||||
default:
|
||||
// @codeCoverageIgnoreStart
|
||||
throw new FireflyException(sprintf('Bunq import routine cannot handle account of type "%s".', \get_class($object)));
|
||||
throw new FireflyException(sprintf('Bunq import routine cannot handle account of type "%s".', get_class($object)));
|
||||
// @codeCoverageIgnoreEnd
|
||||
}
|
||||
if (null !== $array) {
|
||||
|
Reference in New Issue
Block a user