Update TokenGenerator.php