summaryrefslogtreecommitdiffstats
path: root/lib/private/response.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-05-13 23:23:11 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-05-13 23:23:11 +0200
commit5fb94bf76f199a4dc713fe6e37e683d1d908e972 (patch)
tree7d2e456d6618c0674556ba8089b1a047df090f6f /lib/private/response.php
parent401bc60981f3a5da967ee7aa26662b46f0502aa0 (diff)
parent37ba6f503abfdd0f24ac515d1c71aa4a705a211f (diff)
downloadnextcloud-server-5fb94bf76f199a4dc713fe6e37e683d1d908e972.tar.gz
nextcloud-server-5fb94bf76f199a4dc713fe6e37e683d1d908e972.zip
Merge pull request #8542 from owncloud/phpdoc-improvements
PHPDoc Improvements
Diffstat (limited to 'lib/private/response.php')
-rw-r--r--lib/private/response.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/response.php b/lib/private/response.php
index 4905c0a787b..f976925fb2e 100644
--- a/lib/private/response.php
+++ b/lib/private/response.php
@@ -93,7 +93,7 @@ class OC_Response {
/**
* @brief Set reponse expire time
- * @param $expires date-time when the response expires
+ * @param string|DateTime $expires date-time when the response expires
* string for DateInterval from now
* DateTime object when to expire response
*/
@@ -113,7 +113,7 @@ class OC_Response {
/**
* Checks and set ETag header, when the request matches sends a
* 'not modified' response
- * @param $etag token to use for modification check
+ * @param string $etag token to use for modification check
*/
static public function setETagHeader($etag) {
if (empty($etag)) {
@@ -131,7 +131,7 @@ class OC_Response {
/**
* Checks and set Last-Modified header, when the request matches sends a
* 'not modified' response
- * @param $lastModified time when the reponse was last modified
+ * @param int|DateTime|string $lastModified time when the reponse was last modified
*/
static public function setLastModifiedHeader($lastModified) {
if (empty($lastModified)) {