uuid: The constructor can not be static

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3592 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2017-05-05 13:55:07 +00:00
parent 07497465a6
commit b0f2346386

View File

@@ -9,7 +9,7 @@ class uuid
{ {
/** Based on http://php.net/manual/fr/function.uniqid.php#94959 /** Based on http://php.net/manual/fr/function.uniqid.php#94959
*/ */
public static function uuid() public static function uuid4()
{ {
return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', return sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x',