barryvdh / laravel-ide-helper

IDE Helper for Laravel
MIT License
14.17k stars 1.16k forks source link

Use DI for config in ModelsCommand #1242

Open wimski opened 3 years ago

wimski commented 3 years ago

Summary

I've used dependency injection for the configuration class in order to avoid Laravel's magic. This makes the code more discoverable and will help refactoring down the line.

Type of change

Checklist