Skip to content

Commit

Permalink
PHPDoc fixes
Browse files Browse the repository at this point in the history
Found with Phan
  • Loading branch information
tersmitten committed Feb 17, 2017
1 parent 9de424c commit 2304ca3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/Network/CakeResponse.php
Expand Up @@ -806,8 +806,8 @@ public function disableCache() {
/**
* Sets the correct headers to instruct the client to cache the response.
*
* @param string $since a valid time since the response text has not been modified
* @param string $time a valid time for cache expiry
* @param string|int $since a valid time since the response text has not been modified
* @param string|int $time a valid time for cache expiry
* @return void
*/
public function cache($since, $time = '+1 day') {
Expand Down Expand Up @@ -1067,7 +1067,7 @@ public function etag($tag = null, $weak = false) {
* Returns a DateTime object initialized at the $time param and using UTC
* as timezone
*
* @param string|DateTime $time Valid time string or unix timestamp or DateTime object.
* @param DateTime|int|string $time Valid time string or unix timestamp or DateTime object.
* @return DateTime
*/
protected function _getUTCDate($time = null) {
Expand Down

0 comments on commit 2304ca3

Please sign in to comment.