ekvedaras / laravel-query-intellij

💿 Laravel Query Builder integration for PhpStorm
MIT License
46 stars 4 forks source link

`Model::create([])` does not work well when arrays are accessed in values #44

Closed ekvedaras closed 3 years ago

ekvedaras commented 3 years ago

Example:

$data = $event->getData();

User::create([
    'value_one' => $data['value_one'],
    'deep_value' => $data['response']['deep_value'],
]);

The plugin inspects and completes $data array key names when it should not.

ekvedaras commented 3 years ago

This is slightly related to #40 . Might be addressed together 🤷🏻‍♂️

ekvedaras commented 3 years ago

Might be related to #56 .