Fixed Event name being null

This commit is contained in:
Shoghi Cervantes 2014-10-30 14:52:11 +01:00
parent d8f9def7f4
commit 6e8e2a79dd

View File

@ -50,7 +50,7 @@ abstract class Event{
* @return string
*/
final public function getEventName(){
return $this->eventName != null ? get_class($this) : $this->eventName;
return $this->eventName === null ? get_class($this) : $this->eventName;
}
/**