Skip to content

Commit

Permalink
Fix errors reported by phpstan in TimeHelper.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 20, 2017
1 parent c757ee1 commit 9295a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/Helper/TimeHelper.php
Expand Up @@ -248,7 +248,7 @@ public function toRss($dateString, $timezone = null)
* - `class` - The class name to use, defaults to `time-ago-in-words`.
* - `title` - Defaults to the $dateTime input.
*
* @param int|string|\DateTime $dateTime UNIX timestamp, strtotime() valid string or DateTime object
* @param int|string|\DateTime|\Cake\Chronos\ChronosInterface $dateTime UNIX timestamp, strtotime() valid string or DateTime object
* @param array $options Default format if timestamp is used in $dateString
* @return string Relative time string.
* @see \Cake\I18n\Time::timeAgoInWords()
Expand Down

0 comments on commit 9295a8f

Please sign in to comment.