diff --git a/Console/PruneCommand.php b/Console/PruneCommand.php
index <HASH>..<HASH> 100644
--- a/Console/PruneCommand.php
+++ b/Console/PruneCommand.php
@@ -87,7 +87,7 @@ class PruneCommand extends Command
             return collect($models);
         }
 
-        return collect((new Finder)->in(app_path('Models'))->files())
+        return collect((new Finder)->in(app_path('Models'))->files()->name('*.php'))
             ->map(function ($model) {
                 $namespace = $this->laravel->getNamespace();
Only look for files ending with .php in model:prune (#<I>)