mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-21 11:33:11 +00:00
@@ -138,6 +138,10 @@ class GeneratorCommand extends Command {
|
|||||||
$aliases = $aliasLoader->getAliases();
|
$aliases = $aliasLoader->getAliases();
|
||||||
|
|
||||||
foreach($aliases as $alias => $facade){
|
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, '\\');
|
$facade = '\\'.ltrim($facade, '\\');
|
||||||
$root = $this->getRoot($facade);
|
$root = $this->getRoot($facade);
|
||||||
if(!$root){
|
if(!$root){
|
||||||
|
|||||||
Reference in New Issue
Block a user