mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
Fix: Parametrized relationships prevent generation of metadata (#719)
This commit is contained in:
committed by
Barry vd. Heuvel
parent
2f8283a746
commit
32df0a3bc6
@@ -482,7 +482,7 @@ class ModelsCommand extends Command
|
||||
//Resolve the relation's model to a Relation object.
|
||||
$methodReflection = new \ReflectionMethod($model, $method);
|
||||
if ($methodReflection->getNumberOfParameters()) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
$relationObj = $model->$method();
|
||||
|
||||
Reference in New Issue
Block a user