From 6d53b5d8b59320ab65af61278892f2beb9959c33 Mon Sep 17 00:00:00 2001 From: Vladimir Nikolic Date: Mon, 17 Aug 2015 19:41:27 +0700 Subject: [PATCH] Updated default value of $Id --- src/MaddHatter/LaravelFullcalendar/Calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaddHatter/LaravelFullcalendar/Calendar.php b/src/MaddHatter/LaravelFullcalendar/Calendar.php index 02e8729..2a850db 100644 --- a/src/MaddHatter/LaravelFullcalendar/Calendar.php +++ b/src/MaddHatter/LaravelFullcalendar/Calendar.php @@ -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); }