Merge pull request #17871 from seamuslee001/deprecated_jquery
[civicrm-core.git] / Civi / ActionSchedule / Event / MappingRegisterEvent.php
index cd350bd0758403bbc5e81de40e727574ab132c05..ef8c7f3750366f0e973011c62c8b4e402d6cb318 100644 (file)
@@ -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
    */