Fix: Parametrized relationships prevent generation of metadata (#719)

This commit is contained in:
hubertnnn
2018-12-19 13:11:08 +01:00
committed by Barry vd. Heuvel
parent 2f8283a746
commit 32df0a3bc6
+1 -1
View File
@@ -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();