Skip to content

Commit

Permalink
Merge pull request #98 from cakephp/renan-patch-1
Browse files Browse the repository at this point in the history
Fix casing on method name
  • Loading branch information
lorenzo authored Jun 14, 2016
2 parents 18425ce + 3d196d6 commit 7281524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/DifferenceTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public static function fromNow($datetime)
* @param bool $absolute removes time difference modifiers ago, after, etc
* @return string
*/
public function diffForhumans(ChronosInterface $other = null, $absolute = false)
public function diffForHumans(ChronosInterface $other = null, $absolute = false)
{
return static::diffFormatter()->diffForHumans($this, $other, $absolute);
}
Expand Down

0 comments on commit 7281524

Please sign in to comment.