diff options
-rw-r--r-- | Core/Util/ClassUtils.php | 5 | ||||
-rw-r--r-- | Core/Util/StringUtils.php | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/Core/Util/ClassUtils.php b/Core/Util/ClassUtils.php index 7b583a3..26bf1a1 100644 --- a/Core/Util/ClassUtils.php +++ b/Core/Util/ClassUtils.php @@ -37,6 +37,11 @@ class ClassUtils const MARKER_LENGTH = 6; /** + * This class should not be instantiated + */ + private function __construct() {} + + /** * Gets the real class name of a class name that could be a proxy. * * @param string|object diff --git a/Core/Util/StringUtils.php b/Core/Util/StringUtils.php index a73b471..d21efd3 100644 --- a/Core/Util/StringUtils.php +++ b/Core/Util/StringUtils.php @@ -16,11 +16,12 @@ namespace Symfony\Component\Security\Core\Util; * * @author Fabien Potencier <fabien@symfony.com> */ -final class StringUtils +class StringUtils { - final private function __construct() - { - } + /** + * This class should not be instantiated + */ + private function __construct() {} /** * Compares two strings. |