From 5d5a3183c059bbc4fa8d9479255dfed4c48f5dd8 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 30 Nov 2020 14:27:52 +0100 Subject: [PATCH] :memo: more PHPDoc for \utils::Sanitize_Internal added more details about const that were introduced in e911290b3d211e5878f23bad9158296c4656e2a1 --- application/utils.inc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/application/utils.inc.php b/application/utils.inc.php index 6255002fe..123b30624 100644 --- a/application/utils.inc.php +++ b/application/utils.inc.php @@ -324,18 +324,18 @@ class utils } /** + * @param string $sSanitizationFilter one of utils::ENUM_SANITIZATION_* const * @param string|string[] $value - * @param string $sSanitizationFilter one of : integer, class, string, context_param, parameter, field_name, - * element_identifier, transaction_id, parameter, raw_data * * @return string|string[]|bool boolean for : * * the 'class' filter (true if valid, false otherwise) - * * if the filter fails (@see \filter_var()) + * * if the filter fails (@throws \CoreException + * + * @uses \filter_var()) for ENUM * * @since 2.5.2 2.6.0 new 'transaction_id' filter * @since 2.7.0 new 'element_identifier' filter - * - * @throws \CoreException + * @since 3.0.0 new utils::ENUM_SANITIZATION_* const */ protected static function Sanitize_Internal($value, $sSanitizationFilter) {