diff --git a/typo3/sysext/core/Classes/Utility/GeneralUtility.php b/typo3/sysext/core/Classes/Utility/GeneralUtility.php index 466e86f0a3074e2cc95d14fe91155e7d8feeebd6..e7a8a376d77e2db90dee745bf13473c772e01b9a 100644 --- a/typo3/sysext/core/Classes/Utility/GeneralUtility.php +++ b/typo3/sysext/core/Classes/Utility/GeneralUtility.php @@ -39,8 +39,7 @@ use TYPO3\CMS\Core\SingletonInterface; * You are encouraged to use this library in your own scripts! * * USE: - * The class is intended to be used without creating an instance of it. - * So: Don't instantiate - call functions with "\TYPO3\CMS\Core\Utility\GeneralUtility::" prefixed the function name. + * All methods in this class are meant to be called statically. * So use \TYPO3\CMS\Core\Utility\GeneralUtility::[method-name] to refer to the functions, eg. '\TYPO3\CMS\Core\Utility\GeneralUtility::milliseconds()' */ class GeneralUtility @@ -96,6 +95,10 @@ class GeneralUtility */ protected static $indpEnvCache = []; + final private function __construct() + { + } + /************************* * * GET/POST Variables