diff --git a/src/framework/result/printer/TestResultsBag.php b/src/framework/result/printer/TestResultsBag.php index 88ac287..e75e612 100644 --- a/src/framework/result/printer/TestResultsBag.php +++ b/src/framework/result/printer/TestResultsBag.php @@ -17,9 +17,9 @@ class TestResultsBag { /** @var SuccessTest[] $passedTests */ private array $passedTests = []; - /** - * @param TestResult[] $testResults - */ + /** + * @param TestResult[] $testResults + */ public function __construct( private array $testResults ) { @@ -98,9 +98,9 @@ public function getFatalRate() : float { return round(count($this->fatalErrors) / count($this->testResults) * 100, 2); } - /** - * @return TestResult[] - */ + /** + * @return TestResult[] + */ public function getAllErrors() : array { return array_merge($this->failedTests, $this->fatalErrors); } diff --git a/tests/pmmpunit/suitetest/normal/tests/PromiseRejectionNotHandledTest.php b/tests/pmmpunit/suitetest/normal/tests/PromiseRejectionNotHandledTest.php index 9268685..46962ad 100644 --- a/tests/pmmpunit/suitetest/normal/tests/PromiseRejectionNotHandledTest.php +++ b/tests/pmmpunit/suitetest/normal/tests/PromiseRejectionNotHandledTest.php @@ -8,7 +8,9 @@ use ShockedPlot7560\PmmpUnit\framework\TestCase; class PromiseRejectionNotHandledTest extends TestCase { - /** @phpstan-return PromiseInterface */ + /** + * @phpstan-return PromiseInterface + */ public function testPromiseRejectedToException() : PromiseInterface { $this->expectException(Exception::class);