CRM/Upgrade add missing comment blocks
[civicrm-core.git] / CRM / Upgrade / TwoTwo / Form / Step2.php
index 2be294c8ab24a740db9d5369a45a9f57c25c09a5..3fa6e0f68dab2370ce22da2e94648a458bf8d051 100644 (file)
  *
  */
 class CRM_Upgrade_TwoTwo_Form_Step2 extends CRM_Upgrade_Form {
+  /**
+   * @param $errorMessage
+   *
+   * @return bool
+   */
   function verifyPreDBState(&$errorMessage) {
     $errorMessage = ts('Pre-condition failed for upgrade step %1.', array(1 => '2'));
 
@@ -69,6 +74,11 @@ class CRM_Upgrade_TwoTwo_Form_Step2 extends CRM_Upgrade_Form {
     $this->setVersion('2.1.102');
   }
 
+  /**
+   * @param $errorMessage
+   *
+   * @return bool
+   */
   function verifyPostDBState(&$errorMessage) {
     // check if civicrm_event_page tables droped
     if (CRM_Core_DAO::checkTableExists('civicrm_event_page')) {
@@ -106,14 +116,23 @@ class CRM_Upgrade_TwoTwo_Form_Step2 extends CRM_Upgrade_Form {
     return $this->checkVersion('2.1.102');
   }
 
+  /**
+   * @return string
+   */
   function getTitle() {
     return ts('CiviCRM 2.2 Upgrade: Step Two (Merge CiviEvent Tables)');
   }
 
+  /**
+   * @return string
+   */
   function getTemplateMessage() {
     return '<p>' . ts('Step Two will merge the table EventPage into Event table in your database.') . '</p>';
   }
 
+  /**
+   * @return string
+   */
   function getButtonTitle() {
     return ts('Upgrade & Continue');
   }