diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 5f26a2a..02f3edc 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -175,6 +175,8 @@ class ModelsCommand extends Command } catch (\Exception $e) { $this->error("Exception: " . $e->getMessage() . "\nCould not analyze class $name."); } + } elseif (interface_exists($name) || (function_exists('trait_exists') && trait_exists($name))) { + $this->info("Skipping interface/trait $name"); } else { $this->error("Class $name does not exist"); }