-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running #1180
Comments
Does your You can also try the above command with |
Just realized, this is the same as
Please check and try the solution posted there, e.g. clearing the cache, and let us know if it worked. |
Works on a fresh project, even without the config:
I guess you've the configs cached and need to clear the cache first. |
Did you freshly install ide help? Is there a chance that your configs are cached? Try |
Versions:
Description:
php artisan ide-helper:generate
ErrorException
array_merge(): Expected parameter 2 to be an array, null given
at C:\Users\ASUS\PhpstormProjects\project\vendor\barryvdh\laravel-ide-helper\src\Generator.php:57
53▕
54▕ // Find the drivers to add to the extra/interfaces
55▕ $this->detectDrivers();
56▕
➜ 57▕ $this->extra = array_merge($this->extra, $this->config->get('ide-helper.extra'));
58▕ $this->magic = array_merge($this->magic, $this->config->get('ide-helper.magic'));
59▕ $this->interfaces = array_merge($this->interfaces, $this->config->get('ide-helper.interfaces'));
60▕ // Make all interface classes absolute
61▕ foreach ($this->interfaces as &$interface) {
1 C:\Users\ASUS\PhpstormProjects\project\vendor\barryvdh\laravel-ide-helper\src\Generator.php:57
array_merge([])
2 C:\Users\ASUS\PhpstormProjects\united\Management\vendor\barryvdh\laravel-ide-helper\src\Console\GeneratorCommand.php:115
Barryvdh\LaravelIdeHelper\Generator::__construct(Object(Illuminate\Config\Repository), Object(Illuminate\View\Factory), Object(Il
luminate\Console\OutputStyle), "")
-->
Steps To Reproduce:
running php artisan ide-helper:generate
The text was updated successfully, but these errors were encountered: