Skip to content

Commit e0b0599

Browse files
committed
better naming
1 parent 7439259 commit e0b0599

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extension.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ services:
5757

5858
-
5959
class: PHPStan\Rules\PHPUnit\PHPUnitVersion
60-
factory: @PHPStan\Rules\PHPUnit\PHPUnitVersionDetector::getPHPUnitVersion()
60+
factory: @PHPStan\Rules\PHPUnit\PHPUnitVersionDetector::create()
6161
-
6262
class: PHPStan\Rules\PHPUnit\PHPUnitVersionDetector
6363

src/Rules/PHPUnit/PHPUnitVersionDetector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(ReflectionProvider $reflectionProvider)
2222
$this->reflectionProvider = $reflectionProvider;
2323
}
2424

25-
public function getPHPUnitVersion(): PHPUnitVersion
25+
public function create(): PHPUnitVersion
2626
{
2727
if ($this->PHPUnitVersion !== null) {
2828
return $this->PHPUnitVersion;

0 commit comments

Comments
 (0)