Skip to content

Commit

Permalink
Merge pull request #217 from zenekp/patch-1
Browse files Browse the repository at this point in the history
Add third argument to diffForHumans to match Carbon\Carbon
  • Loading branch information
jenssegers committed Aug 16, 2016
2 parents c96f12c + 7c4dd4f commit e57b9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public static function createFromFormat($format, $time, $timezone = null)
* @param bool $absolute Removes time difference modifiers ago, after, etc
* @return string
*/
public function diffForHumans(Carbon $since = null, $absolute = false)
public function diffForHumans(Carbon $since = null, $absolute = false, $short = false)
{
// Get translator
$lang = $this->getTranslator();
Expand Down

2 comments on commit e57b9c9

@neilcrookes
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance you could make a new release with this commit in please?

@GrahamCampbell
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like the phpdoc wasn't updated here too

Please sign in to comment.