diff --git a/core/dbsearch.class.php b/core/dbsearch.class.php index fa1c99929..4a26452b8 100644 --- a/core/dbsearch.class.php +++ b/core/dbsearch.class.php @@ -773,14 +773,14 @@ abstract class DBSearch * @see DBSearch::ToOQL() * * @param string $sQuery The OQL to convert to a DBSearch - * @param mixed[string] $aParams array of params index by name + * @param array $aParams array of params index by name * @param ModelReflection|null $oMetaModel The MetaModel to use when checking the consistency of the OQL * * @return DBObjectSearch|DBUnionSearch * * @throws OQLException */ - static public function FromOQL($sQuery, $aParams = null, ModelReflection $oMetaModel=null) + public static function FromOQL($sQuery, $aParams = null, ModelReflection $oMetaModel=null) { if (empty($sQuery)) {