Set Database env credentials without returning a new instance #24

Merged
vlw merged 1 commit from refs/pull/24/head into master 2026-02-11 17:39:03 +01:00
vlw commented 2026-02-11 17:38:35 +01:00 (Migrated from codeberg.org)

This is a follow-up PR from #22. Instead of returning a new instance after setting the environment variables we simply do nothing. Most of the extending classes will not take advantage of the new instance anyways, and will just call new Database() as before. Of course, as mentioned in #22 this setup is not ideal, and another solution should be implemented to instance this class.

This is a follow-up PR from #22. Instead of returning a new instance after setting the environment variables we simply do nothing. Most of the extending classes will not take advantage of the new instance anyways, and will just call `new Database()` as before. Of course, as mentioned in #22 this setup is not ideal, and another solution should be implemented to instance this class.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vlw/scaffold!24
No description provided.