format comments
authorBrienne Kordis <brienne@megaphonetech.com>
Tue, 6 Dec 2022 17:53:36 +0000 (12:53 -0500)
committerBrienne Kordis <brienne@megaphonetech.com>
Tue, 6 Dec 2022 17:53:36 +0000 (12:53 -0500)
CRM/Event/Form/ManageEvent/TabHeader.php

index 8aa32a20fe88105b615bd99adc3f8325755a7860..3d8a6b8e727bb60fce069cc408b39a823ed94236 100644 (file)
@@ -66,11 +66,11 @@ class CRM_Event_Form_ManageEvent_TabHeader {
     $tabs = [];
     $tabs['settings'] = ['title' => ts('Info and Settings'), 'class' => 'ajaxForm livePage'] + $default;
     $tabs['location'] = ['title' => ts('Event Location')] + $default;
-    // Check to see if CiviContribute is an enabled component
+    // Check to see if CiviContribute is an enabled component.
     $components = \Civi\Api4\Setting::get()
       ->addSelect('enable_components')
       ->execute()[0]['value'];
-    // if Contribute component is active, create the Fees tab
+    // If CiviContribute is active, create the Fees tab.
     if (in_array('CiviContribute', $components)) {
       $tabs['fee'] = ['title' => ts('Fees')] + $default;
     }