Skip to content

Commit

Permalink
Merge pull request #33 from ancarebeca/issue-27
Browse files Browse the repository at this point in the history
Removed EventInterface and added FullCalendarEvent
  • Loading branch information
ancarebeca authored May 1, 2017
2 parents ffdd71c + bf293eb commit 12096b8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 27 deletions.
3 changes: 1 addition & 2 deletions Event/CalendarEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -26,7 +25,7 @@ class CalendarEvent extends EventDispatcher
protected $filters;

/**
* @var EventInterface[]
* @var FullCalendarEvent[]
*/
protected $events = [];

Expand Down
2 changes: 1 addition & 1 deletion Model/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace AncaRebeca\FullCalendarBundle\Model;

class Event implements EventInterface
class Event extends FullCalendarEvent
{
/**
* @var integer
Expand Down
24 changes: 0 additions & 24 deletions Model/EventInterface.php

This file was deleted.

0 comments on commit 12096b8

Please sign in to comment.