lonnieezell / Bonfire2

CodeIgniter 4-based application skeleton
MIT License
129 stars 50 forks source link

style: Use similar calls model() #398

Open neznaika0 opened 1 year ago

neznaika0 commented 1 year ago

I see you are using different calls for models. I think we need to apply a single style. Example:

$users = model(UserModel::class);

Instead of

$users = new UserModel();