fix membershiptypetest
[civicrm-core.git] / tests / phpunit / api / v3 / AllTests.php
index 65da48f3ee945031b166bf9f6051951800985142..a0ad53b7875931d3d6cfcbaff882c20e9b9b2b8f 100644 (file)
@@ -44,29 +44,32 @@ 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);
   }
 
   /**
-   *
    */
   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