diff options
Diffstat (limited to 'apps/files_trashbin/lib/expiration.php')
-rw-r--r-- | apps/files_trashbin/lib/expiration.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/expiration.php b/apps/files_trashbin/lib/expiration.php index c8a6abb627b..5069521aab3 100644 --- a/apps/files_trashbin/lib/expiration.php +++ b/apps/files_trashbin/lib/expiration.php @@ -105,7 +105,10 @@ class Expiration { return $isOlderThanMax || $isMinReached; } - public function getMaxAgeAsTimestamp(){ + /** + * @return bool|int + */ + public function getMaxAgeAsTimestamp() { $maxAge = false; if ($this->isEnabled() && $this->maxAge !== self::NO_OBLIGATION) { $time = $this->timeFactory->getTime(); |