diff --git a/composer.json b/composer.json index 665fb50..773281f 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,8 @@ "karelwintersky/monolog-pdo-handler": "^0.2.0", "monolog/monolog": "^2.0", "apache/log4php": "^2.3", - "whichbrowser/parser": "^2.0" + "whichbrowser/parser": "^2.0", + "nesbot/carbon": "^2.35" }, "require-dev": { "phpunit/phpunit": "8" diff --git a/helpers/FormatTime.php b/helpers/FormatTime.php new file mode 100644 index 0000000..573581d --- /dev/null +++ b/helpers/FormatTime.php @@ -0,0 +1,37 @@ +addHours(24); + + return $expires; +}