From b0f2346386b034e0ec58b997dc6a073f8907e8ac Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Fri, 5 May 2017 13:55:07 +0000 Subject: [PATCH] uuid: The constructor can not be static git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3592 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- uuid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uuid.php b/uuid.php index b190ef0..10f23f6 100644 --- a/uuid.php +++ b/uuid.php @@ -9,7 +9,7 @@ class uuid { /** 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',