Permalink
Browse files

Merge pull request #306 from shama/patch-2

Fix incorrect toQuarter docblock return tag
  • Loading branch information...
2 parents 2a33bc8 + 0930043 commit 946753acdecd59ae3dfed4d22132a1111bdc03d2 @markstory markstory committed Nov 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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) {

0 comments on commit 946753a

Please sign in to comment.