Skip to content

Commit c0c4a01

Browse files
committed
naming
1 parent d31a409 commit c0c4a01

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::create()
60+
factory: @PHPStan\Rules\PHPUnit\PHPUnitVersionDetector::createPHPUnitVersion()
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
@@ -20,7 +20,7 @@ public function __construct(ReflectionProvider $reflectionProvider)
2020
$this->reflectionProvider = $reflectionProvider;
2121
}
2222

23-
public function create(): PHPUnitVersion
23+
public function createPHPUnitVersion(): PHPUnitVersion
2424
{
2525
$majorVersion = null;
2626
if ($this->reflectionProvider->hasClass(TestCase::class)) {

0 commit comments

Comments
 (0)