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

@@ -44,7 +44,7 @@ class AccountDestroyService
public function __construct()
{
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

@@ -39,7 +39,7 @@ class BillDestroyService
public function __construct()
{
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

@@ -39,7 +39,7 @@ class BudgetDestroyService
public function __construct()
{
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

@@ -39,7 +39,7 @@ class CategoryDestroyService
public function __construct()
{
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

@@ -38,7 +38,7 @@ class CurrencyDestroyService
public function __construct()
{
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

@@ -41,7 +41,7 @@ class JournalDestroyService
public function __construct()
{
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

@@ -40,7 +40,7 @@ class RecurrenceDestroyService
public function __construct()
{
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)));
}
}