Reputation: 702
I'm currently developing a Laravel package. The service provider of this package relies on magic methods config('my.config')
and config_path('../my-config.php')
defined in Illuminate/Foundation/helpers.php. PHPStorm notifies that it can't find these magic methods.
Things I tried:
Upvotes: 2
Views: 490
Reputation: 702
I have required the Laravel framework as a dev dependency instead.
Upvotes: 2