Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit 5a3ec80

Browse files
committed
Removed literal type hints
1 parent cfe5ca9 commit 5a3ec80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Log/PhpUnit.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class PhpUnit extends \PHPUnit\Util\Log\JUnit
1717
private $currentFile;
1818
private $currentFileSuite;
1919

20-
public function startTest(\PHPUnit\Framework\Test $test):void
20+
public function startTest(\PHPUnit\Framework\Test $test)
2121
{
2222
if (method_exists($test, 'getFileName') ) {
2323
$filename = $test->getFileName();
@@ -66,7 +66,7 @@ public function startTest(\PHPUnit\Framework\Test $test):void
6666
}
6767
}
6868

69-
public function endTest(\PHPUnit\Framework\Test $test, float $time):void
69+
public function endTest(\PHPUnit\Framework\Test $test, $time)
7070
{
7171
if ($this->currentTestCase !== null && $test instanceof Test) {
7272
$numAssertions = $test->getNumAssertions();
@@ -101,7 +101,7 @@ public function endTest(\PHPUnit\Framework\Test $test, float $time):void
101101
/**
102102
* Cleans the mess caused by test suite manipulation in startTest
103103
*/
104-
public function endTestSuite(TestSuite $suite): void
104+
public function endTestSuite(TestSuite $suite)
105105
{
106106
if ($suite->getName()) {
107107
if ($this->currentFile) {

0 commit comments

Comments
 (0)