Fix: use getFirst() instead of first()
This commit is contained in:
parent
aedd75f16d
commit
df64c21d1c
|
@ -190,7 +190,7 @@ class PropelParamConverter implements ParamConverterInterface
|
|||
if (!$this->hasWith) {
|
||||
return $query->findOne();
|
||||
} else {
|
||||
return $query->find()->first();
|
||||
return $query->find()->getFirst();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue