Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #306 from shama/patch-2

Fix incorrect toQuarter docblock return tag
  • Loading branch information...
commit 946753acdecd59ae3dfed4d22132a1111bdc03d2 2 parents 2a33bc8 + 0930043
@markstory markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/View/Helper/TimeHelper.php
View
2  lib/Cake/View/Helper/TimeHelper.php
@@ -387,7 +387,7 @@ public function isTomorrow($dateString, $userOffset = null) {
*
* @param string $dateString
* @param boolean $range if true returns a range in Y-m-d format
- * @return boolean True if datetime string is within current week
+ * @return mixed 1, 2, 3, or 4 quarter of year or array if $range true
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html#formatting
*/
public function toQuarter($dateString, $range = false) {
Please sign in to comment.
Something went wrong with that request. Please try again.