diff --git a/Event/CalendarEvent.php b/Event/CalendarEvent.php index 70d3bde..ed63334 100644 --- a/Event/CalendarEvent.php +++ b/Event/CalendarEvent.php @@ -2,7 +2,6 @@ namespace AncaRebeca\FullCalendarBundle\Event; -use AncaRebeca\FullCalendarBundle\Model\EventInterface; use AncaRebeca\FullCalendarBundle\Model\FullCalendarEvent; use Symfony\Component\EventDispatcher\Event as EventDispatcher; @@ -26,7 +25,7 @@ class CalendarEvent extends EventDispatcher protected $filters; /** - * @var EventInterface[] + * @var FullCalendarEvent[] */ protected $events = []; diff --git a/Model/Event.php b/Model/Event.php index c7e68c4..45c2312 100644 --- a/Model/Event.php +++ b/Model/Event.php @@ -2,7 +2,7 @@ namespace AncaRebeca\FullCalendarBundle\Model; -class Event implements EventInterface +class Event extends FullCalendarEvent { /** * @var integer diff --git a/Model/EventInterface.php b/Model/EventInterface.php deleted file mode 100644 index 2601c62..0000000 --- a/Model/EventInterface.php +++ /dev/null @@ -1,24 +0,0 @@ -