X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FActionSchedule%2FEvent%2FMappingRegisterEvent.php;h=ef8c7f3750366f0e973011c62c8b4e402d6cb318;hb=881750c489cfe1241e4827bf6ec675bbc0b5aa95;hp=cd350bd0758403bbc5e81de40e727574ab132c05;hpb=7ba9f1d2c4dcd13fa8fe542728cd152eff860c0f;p=civicrm-core.git diff --git a/Civi/ActionSchedule/Event/MappingRegisterEvent.php b/Civi/ActionSchedule/Event/MappingRegisterEvent.php index cd350bd075..ef8c7f3750 100644 --- a/Civi/ActionSchedule/Event/MappingRegisterEvent.php +++ b/Civi/ActionSchedule/Event/MappingRegisterEvent.php @@ -9,6 +9,8 @@ use Symfony\Component\EventDispatcher\Event; * @package Civi\ActionSchedule\Event * * Register any available mappings. + * + * Event name: 'civi.actionSchedule.getMappings' */ class MappingRegisterEvent extends Event { @@ -16,12 +18,12 @@ class MappingRegisterEvent extends Event { * @var array * Array(scalar $id => Mapping $mapping). */ - protected $mappings = array(); + protected $mappings = []; /** * Register a new mapping. * - * @param MappingInterface $mapping + * @param \Civi\ActionSchedule\MappingInterface $mapping * The new mapping. * @return MappingRegisterEvent */