Merge pull request #15483 from demeritcowboy/say-my-name-2
[civicrm-core.git] / CRM / Event / Task.php
index 9e8542e103b51da96d074d1dc6851bd433d8fcfc..82afc9194757d4779e15441f8e4acfa215b1aaf4 100644 (file)
  */
 class CRM_Event_Task extends CRM_Core_Task {
 
+  /**
+   * Event tasks
+   */
   const
-    // Event tasks
     CANCEL_REGISTRATION = 301,
     PARTICIPANT_STATUS = 302;
 
-  static $objectType = 'event';
+  /**
+   * @var string
+   */
+  public static $objectType = 'event';
 
   /**
    * These tasks are the core set of tasks that the user can perform
    * on a contact / group of contacts
    *
-   * @return array The set of tasks for a group of contacts
-   *            [ 'title' => The Task title,
-   *              'class' => The Task Form class name,
-   *              'result => Boolean.  FIXME: Not sure what this is for
-   *            ]
+   * @return array
+   *   The set of tasks for a group of contacts
+   *    [ 'title' => The Task title,
+   *      'class' => The Task Form class name,
+   *      'result => Boolean.  FIXME: Not sure what this is for
+   *    ]
    */
   public static function tasks() {
     if (!self::$_tasks) {