mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 10:33:11 +00:00
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'");
|
$this->comment("Loading model '$name'");
|
||||||
|
|
||||||
if (!$reflectionClass->IsInstantiable()) {
|
if (!$reflectionClass->IsInstantiable()) {
|
||||||
throw new \Exception($name . ' is not instanciable.');
|
throw new \Exception($name . ' is not instantiable.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$model = new $name();
|
$model = new $name();
|
||||||
|
|||||||
Reference in New Issue
Block a user