From 0d49c605e212842a6db28f78c1a4b8786303b2e2 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Thu, 15 Dec 2022 15:36:14 +0100 Subject: [PATCH] :bulb: Fix \DBSearch::FromOQL phpdoc + modifiers order --- core/dbsearch.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dbsearch.class.php b/core/dbsearch.class.php index 81f615d4e..1dbe02c44 100644 --- a/core/dbsearch.class.php +++ b/core/dbsearch.class.php @@ -754,14 +754,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)) {