diff --git a/Request/ParamConverter/PropelParamConverter.php b/Request/ParamConverter/PropelParamConverter.php index 77e2391..c804d24 100644 --- a/Request/ParamConverter/PropelParamConverter.php +++ b/Request/ParamConverter/PropelParamConverter.php @@ -190,7 +190,7 @@ class PropelParamConverter implements ParamConverterInterface if (!$this->hasWith) { return $query->findOne(); } else { - return $query->find()->first(); + return $query->find()->getFirst(); } }