Fix on speakers merge

Change-Id: Ia44bdcd40e9b71cc20c6bcb84013bf8a7b035735
Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
smarcet 2020-12-04 10:01:14 -03:00
parent 1c606138be
commit 0d708764ae
2 changed files with 4 additions and 4 deletions

View File

@ -35,17 +35,17 @@ class PresentationSpeakerEntityStateChanged extends Event
/**
* SummitEventEntityStateChanged constructor.
* @param PresentationSpeaker $speaker
* @param PresentationSpeaker|null $speaker
* @param LifecycleEventArgs $args
*/
public function __construct(PresentationSpeaker $speaker, LifecycleEventArgs $args)
public function __construct(?PresentationSpeaker $speaker, LifecycleEventArgs $args)
{
$this->speaker = $speaker;
$this->args = $args;
}
/**
* @return PresentationSpeaker
* @return PresentationSpeaker|null
*/
public function getPresentationSpeaker()
{

View File

@ -1316,7 +1316,7 @@ SQL;
*/
public function deleted($args){
Event::fire(new PresentationSpeakerDeleted($this, $this->pre_remove_events));
Event::fire(new PresentationSpeakerDeleted(null, $this->pre_remove_events));
$this->pre_remove_events = null;
}