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

@@ -53,7 +53,7 @@ class BalanceReportHelper implements BalanceReportHelperInterface
$this->budgetRepository = $budgetRepository;
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

@@ -49,7 +49,7 @@ class BudgetReportHelper implements BudgetReportHelperInterface
$this->repository = $repository;
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

@@ -53,7 +53,7 @@ class NetWorth implements NetWorthInterface
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

@@ -45,7 +45,7 @@ class PopupReport implements PopupReportInterface
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

@@ -54,7 +54,7 @@ class ReportHelper implements ReportHelperInterface
$this->budgetRepository = $budgetRepository;
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)));
}