Replace \get_class with get_class

This commit is contained in:
James Cole
2019-06-07 18:20:15 +02:00
parent 779650f63d
commit 8b5551fc26
91 changed files with 92 additions and 131 deletions

View File

@@ -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)));
}
}

View File

@@ -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) {