From 6a587e61b0071cb8206c34c2ce8203a81e58e310 Mon Sep 17 00:00:00 2001 From: Nicolas Peguin Date: Wed, 22 Feb 2017 15:33:05 +0100 Subject: [PATCH] Fix PHP doc --- src/Mouf/Database/TDBM/TDBMService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mouf/Database/TDBM/TDBMService.php b/src/Mouf/Database/TDBM/TDBMService.php index 43f2e3b..0635f38 100644 --- a/src/Mouf/Database/TDBM/TDBMService.php +++ b/src/Mouf/Database/TDBM/TDBMService.php @@ -611,7 +611,7 @@ private function deleteAllConstraintWithThisObject(TDBMObject $obj) { * @param integer $from The offset * @param integer $limit The maximum number of objects returned * @param string $className Optional: The name of the class to instanciate. This class must extend the TDBMObject class. If none is specified, a TDBMObject instance will be returned. - * @return array|Generator|TDBMObjectArray The result set of the query as a TDBMObjectArray (an array of TDBMObjects with special properties) + * @return array|\Generator|TDBMObjectArray The result set of the query as a TDBMObjectArray (an array of TDBMObjects with special properties) */ public function getObjectsFromSQL($table_name, $sql, $from=null, $limit=null, $className=null) { if ($this->dbConnection == null) { @@ -1382,7 +1382,7 @@ public function explainRequestAsHTMLGetObjects($table_name, $filter_bag=null, $o * @param integer $limit The maximum number of rows returned * @param string $className Optional: The name of the class to instanciate. This class must extend the TDBMObject class. If none is specified, a TDBMObject instance will be returned. * @param unknown_type $hint_path Hints to get the path for the query (expert parameter, you should leave it to null). - * @return array|Generator|TDBMObjectArray|int An array or object containing the resulting objects of the query. + * @return array|\Generator|TDBMObjectArray|int An array or object containing the resulting objects of the query. */ public function getObjectsByMode($mode, $table_name, $filter_bag=null, $orderby_bag=null, $from=null, $limit=null, $className=null, $hint_path=null) { $this->completeSave();