Skip to content

Commit

Permalink
Merge pull request #4 from tacker/e3d219f554779f3ab58b175dfad584639aa…
Browse files Browse the repository at this point in the history
…360f8

Added DatetIme type hint for get() arguments.
  • Loading branch information
cweiske committed May 29, 2012
2 parents dbdaab9 + e3d219f commit 18a94f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Date/HumanDiff.php
Expand Up @@ -84,8 +84,8 @@ public function __construct()
/**
* Generate a human readable time difference.
*
* @param int $timestamp Timestamp to get difference to
* @param int $reference Reference timestamp to get difference from.
* @param int|DateTime $timestamp Timestamp to get difference to
* @param int|DateTime $reference Reference timestamp to get difference from.
* If omitted, it's set to the current time.
*
* @return string Human readable time difference ("a week ago")
Expand Down

0 comments on commit 18a94f0

Please sign in to comment.