mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 10:07:12 +00:00
Merge pull request #142 from RowdyElectron/master
Fix typo in ModelsCommand.php . Fixes #141
This commit is contained in:
@@ -165,7 +165,7 @@ class ModelsCommand extends Command
|
||||
$this->comment("Loading model '$name'");
|
||||
|
||||
if (!$reflectionClass->IsInstantiable()) {
|
||||
throw new \Exception($name . ' is not instanciable.');
|
||||
throw new \Exception($name . ' is not instantiable.');
|
||||
}
|
||||
|
||||
$model = new $name();
|
||||
|
||||
Reference in New Issue
Block a user