diff --git a/uuid.php b/uuid.php index 1acdd79..c2f5531 100644 --- a/uuid.php +++ b/uuid.php @@ -8,9 +8,12 @@ */ class uuid { - /** Based on http://php.net/manual/fr/function.uniqid.php#94959 + /** Create a UUID + * Based on http://php.net/manual/fr/function.uniqid.php#94959 + * @return string UUID created */ public static function uuid4 () + // {{{ { return sprintf ('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', @@ -33,4 +36,5 @@ class uuid mt_rand (0, 0xffff), mt_rand (0, 0xffff), mt_rand (0, 0xffff) ); } + // }}} }