Skip to content

Commit

Permalink
Updated default value of $Id
Browse files Browse the repository at this point in the history
  • Loading branch information
nezaboravi committed Aug 17, 2015
1 parent 21b797a commit 6d53b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MaddHatter/LaravelFullcalendar/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function __construct(Factory $view, EventCollection $eventCollection)
* @param string $id event Id
* @return SimpleEvent
*/
public static function event($title, $isAllDay, $start, $end, $id)
public static function event($title, $isAllDay, $start, $end, $id = null)
{
return new SimpleEvent($title, $isAllDay, $start, $end, $id);
}
Expand Down

0 comments on commit 6d53b5d

Please sign in to comment.