Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-12 00:51:30 +0400
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 22:08:14 +0400
commit87b548ed91c03f051a93cc39bf94650922c1f55f (patch)
tree1c2a03d338f3c9a9e729b08d66c83ef9a55782f2 /lib/private/response.php
parenta7ae2e874a28aed2c190840634db50a19ab1d2e7 (diff)
Fix all PHPDoc types and variable names, in /lib
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)) {