Skip to content

Commit

Permalink
remove the typehint from diff(). Seems like PHP 5.5 doesn't define it…
Browse files Browse the repository at this point in the history
…, so the manual is wrong
  • Loading branch information
WanWizard committed Dec 25, 2013
1 parent df787ee commit 8a2878c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/DateTimeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/
interface DateTimeInterface
{
public function diff(DateTimeInterface $datetime2, $absolute = false);
public function format($format );
public function diff($datetime2, $absolute = false);
public function format($format);
public function getOffset();
public function getTimestamp();
public function getTimezone();
Expand Down

0 comments on commit 8a2878c

Please sign in to comment.