From 3860835f51c8aaebad03f8fd0c94473c0c3ddf34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Thu, 16 Feb 2017 15:04:32 +0100 Subject: [PATCH] Fix lies in the return annotations Resolves cakephp/docs/#4715 --- src/View/Helper/TimeHelper.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/View/Helper/TimeHelper.php b/src/View/Helper/TimeHelper.php index 2dec9c3d445..5e8aa6f54bb 100644 --- a/src/View/Helper/TimeHelper.php +++ b/src/View/Helper/TimeHelper.php @@ -86,11 +86,11 @@ public function nice($dateString = null, $timezone = null, $locale = null) } /** - * Returns true if given datetime string is today. + * Returns true, if the given datetime string is today. * * @param int|string|\DateTime $dateString UNIX timestamp, strtotime() valid string or DateTime object * @param string|\DateTimeZone|null $timezone User's timezone string or DateTimeZone object - * @return bool True if datetime string is today + * @return bool True if the given datetime string is today. */ public function isToday($dateString, $timezone = null) { @@ -98,11 +98,11 @@ public function isToday($dateString, $timezone = null) } /** - * Returns true if given datetime string is in the future. + * Returns true, if the given datetime string is in the future. * * @param int|string|\DateTime $dateString UNIX timestamp, strtotime() valid string or DateTime object * @param string|\DateTimeZone|null $timezone User's timezone string or DateTimeZone object - * @return bool True if datetime string is today + * @return bool True if the given datetime string lies in the future. */ public function isFuture($dateString, $timezone = null) { @@ -110,11 +110,11 @@ public function isFuture($dateString, $timezone = null) } /** - * Returns true if given datetime string is in the past. + * Returns true, if the given datetime string is in the past. * * @param int|string|\DateTime $dateString UNIX timestamp, strtotime() valid string or DateTime object * @param string|\DateTimeZone|null $timezone User's timezone string or DateTimeZone object - * @return bool True if datetime string is today + * @return bool True if the given datetime string lies in the past. */ public function isPast($dateString, $timezone = null) {