diff --git a/Entity/Token.php b/Entity/Token.php index bb07c59..8c5da0c 100644 --- a/Entity/Token.php +++ b/Entity/Token.php @@ -112,7 +112,7 @@ public function getData() */ private function hashToken($seed = null, $raw = false) { - return hash('sha512', uniqid(null, true) . mt_rand(0, time(NULL)) . ($seed ? $seed : ''), $raw); + return hash('sha512', uniqid(null, true) . mt_rand(0, time()) . ($seed ? $seed : ''), $raw); } /**