fix membershiptypetest
[civicrm-core.git] / tests / phpunit / api / v3 / AllTests.php
index ef9a754caf23d6e7c75e9ce3cb721fb2b97f3c7a..a0ad53b7875931d3d6cfcbaff882c20e9b9b2b8f 100644 (file)
@@ -6,12 +6,12 @@
  *
  *  (PHP 5)
  *
- *   @author Walt Haas <walt@dharmatech.org> (801) 534-1262
- *   @copyright Copyright CiviCRM LLC (C) 2009
- *   @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html
+ * @author Walt Haas <walt@dharmatech.org> (801) 534-1262
+ * @copyright Copyright CiviCRM LLC (C) 2009
+ * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html
  *              GNU Affero General Public License version 3
- *   @version   $Id: AllTests.php 31254 2010-12-15 10:09:29Z eileen $
- *   @package   CiviCRM
+ * @version   $Id: AllTests.php 31254 2010-12-15 10:09:29Z eileen $
+ * @package   CiviCRM
  *
  *   This file is part of CiviCRM
  *
@@ -38,34 +38,38 @@ require_once 'CiviTest/CiviTestSuite.php';
 /**
  *  Class containing all API v3 test suites
  *
- *  @package   CiviCRM
+ * @package   CiviCRM
  */
 class api_v3_AllTests extends CiviTestSuite {
   private static $instance = NULL;
 
   /**
-   * Simple name based constructor
-   */ function __construct($theClass = '', $name = '') {
+   * Simple name based constructor.
+   *
+   * @param string $theClass
+   * @param string $name
+   */
+  public function __construct($theClass = '', $name = '') {
     parent::__construct($theClass, $name);
   }
 
   /**
-   *
    */
   private static function getInstance() {
     if (is_null(self::$instance)) {
-      self::$instance = new self;
+      self::$instance = new self();
     }
     return self::$instance;
   }
 
   /**
-   *  Build test suite dynamically
+   * Build test suite dynamically.
    */
   public static function suite() {
     $inst = self::getInstance();
     return $inst->implSuite(__FILE__);
   }
+
 }
 // class api_v3_AllTests