Merge pull request #20445 from seamuslee001/fix_warning_notice_code_gen
[civicrm-core.git] / tests / phpunit / CiviTest / CiviReportTestCase.php
index 7e71a4d98b86dedf452282ec7da6498c5b3058bb..d3f1e4adfd6e215eaa76c033b1a6428eeca35bdb 100644 (file)
  */
 class CiviReportTestCase extends CiviUnitTestCase {
 
-  public function setUp() {
-    parent::setUp();
-    $this->_sethtmlGlobals();
-  }
-
-  public function tearDown() {
+  public function tearDown(): void {
     // TODO Figure out how to automatically drop all temporary tables.
     // Note that MySQL doesn't provide a way to list them, so we would need
     // to keep track ourselves (eg CRM_Core_TemporaryTableManager) or reset
@@ -47,10 +42,10 @@ class CiviReportTestCase extends CiviUnitTestCase {
   }
 
   /**
-   * @param $reportClass
+   * @param string $reportClass
    * @param array $inputParams
    *
-   * @return array
+   * @return CRM_Report_Form
    * @throws Exception
    */
   public function getReportObject($reportClass, $inputParams) {