mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 10:33:11 +00:00
@@ -138,8 +138,8 @@ 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..)
|
//Check if the facade is not a Trait
|
||||||
if(\Str::contains($facade, 'Trait')){
|
if(function_exists('trait_exists') && trait_exists($facade)){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$facade = '\\'.ltrim($facade, '\\');
|
$facade = '\\'.ltrim($facade, '\\');
|
||||||
|
|||||||
Reference in New Issue
Block a user