fix membershiptypetest
[civicrm-core.git] / tests / phpunit / api / v3 / AllTests.php
index ba828c6cc914427232f2f09031494b522f46306e..a0ad53b7875931d3d6cfcbaff882c20e9b9b2b8f 100644 (file)
@@ -44,11 +44,12 @@ class api_v3_AllTests extends CiviTestSuite {
   private static $instance = NULL;
 
   /**
-   * Simple name based constructor
+   * Simple name based constructor.
+   *
    * @param string $theClass
    * @param string $name
    */
-  function __construct($theClass = '', $name = '') {
+  public function __construct($theClass = '', $name = '') {
     parent::__construct($theClass, $name);
   }
 
@@ -56,18 +57,19 @@ class api_v3_AllTests extends CiviTestSuite {
    */
   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