Update Http.php
[plcapi.git] / tests / PolyfillTestCase8.php
index 0f933ff..5c8711a 100644 (file)
@@ -1,17 +1,17 @@
 <?php
 
-use PHPUnit\Framework\TestResult;
+use PHPUnit\Framework\TestResult as PHPUnit_Framework_TestResult;
 use Yoast\PHPUnitPolyfills\TestCases\TestCase;
 
 abstract class PhpXmlRpc_PolyfillTestCase extends TestCase
 {
-    public function _run(TestResult $result = null) {
+    public function _run($result = null) {
         return parent::run($result);
     }
 
     public static function _fail() {}
 
-    public function run(TestResult $result = null): TestResult {
+    public function run(PHPUnit_Framework_TestResult $result = null): PHPUnit_Framework_TestResult {
         return $this->_run($result);
     }