diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-07-19 19:44:10 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 08:20:16 +0200 |
commit | dfd8125aeb4a95df20041890dcffd50ba2592fee (patch) | |
tree | c9c9aaf0b7c4e2244b0d5752576453080acddf7e /lib/private/legacy/response.php | |
parent | 10414d2e7d9f5605057d7432e899829bc5ba1dcd (diff) | |
download | nextcloud-server-dfd8125aeb4a95df20041890dcffd50ba2592fee.tar.gz nextcloud-server-dfd8125aeb4a95df20041890dcffd50ba2592fee.zip |
Replace wrong PHPDocs
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/legacy/response.php')
-rw-r--r-- | lib/private/legacy/response.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/legacy/response.php b/lib/private/legacy/response.php index fa73f3d6d0d..e45fe616e49 100644 --- a/lib/private/legacy/response.php +++ b/lib/private/legacy/response.php @@ -116,11 +116,11 @@ class OC_Response { } /** - * Set response expire time - * @param string|DateTime $expires date-time when the response expires - * string for DateInterval from now - * DateTime object when to expire response - */ + * Set response expire time + * @param string|DateTime|int $expires date-time when the response expires + * string for DateInterval from now + * DateTime object when to expire response + */ static public function setExpiresHeader($expires) { if (is_string($expires) && $expires[0] == 'P') { $interval = $expires; |