idea-php-laravel-plugin
idea-php-laravel-plugin copied to clipboard
Feature Request: support config files in directories
Please add support for configuration files nested in directories like
config/modules/messages.php
Which could be requested with
$foo = config('modules.messages.foo');
Saw #169 but with Laravel 6.x and Laravel plugin 0.15.4 and phpStorm 2019.3 it is not working.
OK, it works.. But it ignores always the first item of the config array, if this item is an array..
So when using config('messages.attachments.allowed_extensions')
this is recognized by the plugin:
return [
'attachments' => [
'allowed_extensions' => 'test',
],
];
This is not recognized by the plugin:
return [
'attachments' => [
'allowed_extensions' => ['test', 'test1'],
],
];