a few tidy ups & comment fixes
authorEileen McNaughton <eileen@fuzion.co.nz>
Wed, 14 Jan 2015 21:01:06 +0000 (10:01 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Wed, 14 Jan 2015 21:03:00 +0000 (10:03 +1300)
CRM/Core/Controller.php
CRM/Core/DAO.php
CRM/SMS/Controller/Send.php
CRM/SMS/StateMachine/Send.php

index 1cb6fceffabdf056fdf615a9b705e991d02ad155..cd62a31fe7f1f1ff3e3aba2a5063db8555605c57 100644 (file)
@@ -172,8 +172,6 @@ class CRM_Core_Controller extends HTML_QuickForm_Controller {
    *   Should we add a unique sequence number to the end of the key.
    * @param bool $ignoreKey
    *   Should we not set a qfKey for this controller (for standalone forms).
-   *
-   * @internal param bool $whether controller is modal
    */
   function __construct(
     $title = NULL,
index ed999153f09361bf59d0b32266ede54262b2ba75..24643ee900595a83b4f5ec6a073b8ffdfb025b59 100644 (file)
@@ -1158,7 +1158,7 @@ FROM   civicrm_domain
     if ($freeDAO ||
       preg_match('/^(insert|update|delete|create|drop|replace)/i', $queryStr)
     ) {
-      // we typically do this for insert/update/delete stataments OR if explicitly asked to
+      // we typically do this for insert/update/delete statements OR if explicitly asked to
       // free the dao
       $dao->free();
     }
index 68a2ed858a51fc418e787180f26d8aad662618b9..2febbdfc993b31b4660a6fffb1a0235d9520dc00 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-/*
+/**
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
@@ -36,6 +36,10 @@ class CRM_SMS_Controller_Send extends CRM_Core_Controller {
 
   /**
    * Class constructor
+   *
+   * @param null $title
+   * @param bool|int $action
+   * @param bool $modal
    */
   public function __construct($title = NULL, $action = CRM_Core_Action::NONE, $modal = TRUE) {
     parent::__construct($title, $modal, NULL, FALSE, TRUE);
index 57f724a371e6b38bcfa68be75423308713333e7d..c51f4dee7bfd722862834cfd4a5ec98aadc532a4 100644 (file)
@@ -45,7 +45,6 @@ class CRM_SMS_StateMachine_Send extends CRM_Core_StateMachine {
    * @param object $controller
    * @param \const|int $action
    *
-   * @internal param \CRM_SMS_Controller $object
    * @return \CRM_SMS_StateMachine_Send CRM_SMS_StateMachine
    */
   public function __construct($controller, $action = CRM_Core_Action::NONE) {