From 720b81f8af6636bfaf3ebf281e3680f380a28835 Mon Sep 17 00:00:00 2001 From: Xavier Perseguers Date: Tue, 26 Jul 2011 11:48:31 +0200 Subject: [PATCH] [TASK] Fix deprecation comment for t3lib_div::int_from_ver() Method t3lib_div::int_from_ver() has been deprecated but the phpDoc comment is wrong. Problem is that the phpDoc is used in the deprecation log, thus giving wrong advice to the developer. Change-Id: Ic15258bb81ae776ce499e1d1151af295cc963daa Reviewed-on: http://review.typo3.org/3721 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers --- t3lib/class.t3lib_div.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t3lib/class.t3lib_div.php b/t3lib/class.t3lib_div.php index f557d4c6799..fc48aefa09a 100644 --- a/t3lib/class.t3lib_div.php +++ b/t3lib/class.t3lib_div.php @@ -757,7 +757,7 @@ final class t3lib_div { * * @param string $verNumberStr Version number on format x.x.x * @return integer Integer version of version number (where each part can count to 999) - * @deprecated since TYPO3 4.6, will be removed in TYPO3 4.8 - Use t3lib_utility_Math::convertVersionNumberToInteger() instead + * @deprecated since TYPO3 4.6, will be removed in TYPO3 4.8 - Use t3lib_utility_VersionNumber::convertVersionNumberToInteger() instead */ public static function int_from_ver($verNumberStr) { self::logDeprecatedFunction(); -- 2.20.1