Skip to content
Snippets Groups Projects
Unverified Commit 931aca2f authored by Joas Schilling's avatar Joas Schilling
Browse files

Add missing default

parent d9c4c9eb
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ class Throttler {
* @param float $maxAgeHours
* @return int
*/
private function getCutoffTimestamp(float $maxAgeHours): int {
private function getCutoffTimestamp(float $maxAgeHours = 12.0): int {
return (new \DateTime())
->sub($this->getCutoff((int) ($maxAgeHours * 3600)))
->getTimestamp();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment