mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 06:31:22 +00:00
Learned that I should not refer to env vars directly so I removed all references.
This commit is contained in:
@@ -56,6 +56,9 @@ class BillTransformer extends TransformerAbstract
|
||||
{
|
||||
$this->parameters = $parameters;
|
||||
$this->repository = app(BillRepositoryInterface::class);
|
||||
if ('testing' === config('app.env')) {
|
||||
Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user