Skip to content
Browse files

Added DatetIme type hint for get() arguments.

  • Loading branch information...
1 parent dbdaab9 commit e3d219f554779f3ab58b175dfad584639aa360f8 @coderbyheart coderbyheart committed May 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Date/HumanDiff.php
View
4 src/Date/HumanDiff.php
@@ -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")

0 comments on commit e3d219f

Please sign in to comment.
Something went wrong with that request. Please try again.