Fix on speakers merge
Change-Id: Ia44bdcd40e9b71cc20c6bcb84013bf8a7b035735 Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
parent
1c606138be
commit
0d708764ae
@ -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()
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user