mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-13 08:52:05 -05:00
Learned that I should not refer to env vars directly so I removed all references.
This commit is contained in:
1 parent
4bd94e5450
commit
c54541b839
116 files changed
+239
-157
No files matched your search
@@ -50,7 +50,7 @@ class TransactionFactory
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
if ('testing' === env('APP_ENV')) {
|
||||
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