Lotsa bug fixes and updates

This commit is contained in:
Alex Bilbie
2014-07-11 18:27:03 +01:00
parent c6bc1b0cfc
commit 1e78f62823
17 changed files with 61 additions and 121 deletions

View File

@@ -12,6 +12,7 @@
namespace League\OAuth2\Server\Entity;
use League\OAuth2\Server\AbstractServer;
use League\OAuth2\Server\Event;
use Symfony\Component\HttpFoundation\ParameterBag;
/**
@@ -228,7 +229,7 @@ class SessionEntity
$this->ownerType = $type;
$this->ownerId = $id;
$this->server->eventEmitter->emit(new Event\SessionOwnerEvent($this));
$this->server->getEventEmitter()->emit(new Event\SessionOwnerEvent($this));
return $this;
}