Skip to content

Commit

Permalink
Method signature must match the parent class.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 10, 2014
1 parent fb7c5cc commit 855a41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kronolith/lib/Day.php
Expand Up @@ -109,7 +109,7 @@ public function isTomorrow()
return $date->compareDate(new Horde_Date(mktime(0, 0, 0))) == 0;
}

public function diff()
public function diff($other = null)
{
$day2 = new Kronolith_Day();
return Date_Calc::dateDiff($this->mday, $this->month, $this->year,
Expand Down

0 comments on commit 855a41a

Please sign in to comment.