Make non-instantiable utils classes consistent with each other
This commit is contained in:
parent
f61457d82b
commit
07bd5c6306
@ -14,7 +14,7 @@ namespace Symfony\Component\Form\Util;
|
||||
/**
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
*/
|
||||
abstract class FormUtil
|
||||
class FormUtil
|
||||
{
|
||||
/**
|
||||
* Map english plural to singular suffixes
|
||||
@ -97,6 +97,11 @@ abstract class FormUtil
|
||||
array('xuae', 4, false, true, 'eau'),
|
||||
);
|
||||
|
||||
/**
|
||||
* This class should not be instantiated
|
||||
*/
|
||||
private function __construct() {}
|
||||
|
||||
/**
|
||||
* Returns the singular form of a word
|
||||
*
|
||||
|
@ -36,6 +36,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.
|
||||
*
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user