mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
@@ -138,6 +138,10 @@ class GeneratorCommand extends Command {
|
||||
$aliases = $aliasLoader->getAliases();
|
||||
|
||||
foreach($aliases as $alias => $facade){
|
||||
//Check if the facade is not a Trait (could need a better check..)
|
||||
if(\Str::contains($facade, 'Trait')){
|
||||
continue;
|
||||
}
|
||||
$facade = '\\'.ltrim($facade, '\\');
|
||||
$root = $this->getRoot($facade);
|
||||
if(!$root){
|
||||
|
||||
Reference in New Issue
Block a user