Skip to content

Commit efde4dc

Browse files
committed
typo
1 parent a7648a1 commit efde4dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozzartRector.php renamed to rules/CodeQuality/Rector/ClassMethod/BehatPHPUnitAssertToWebmozartRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ final class BehatPHPUnitAssertToWebmozartRector extends AbstractRector
2525
/**
2626
* @var array<string, string>
2727
*/
28-
private const array PHPUNIT_TO_WEBMOZZART_METHODS = [
28+
private const array PHPUNIT_TO_WEBMOZART_METHODS = [
2929
// Boolean
3030
'assertTrue' => 'true',
3131
'assertFalse' => 'false',
@@ -173,7 +173,7 @@ public function refactor(Node $node): ?ClassMethod
173173
}
174174

175175
// changed method name
176-
$webmozartMethodName = self::PHPUNIT_TO_WEBMOZZART_METHODS[$phpunitMethodName] ?? null;
176+
$webmozartMethodName = self::PHPUNIT_TO_WEBMOZART_METHODS[$phpunitMethodName] ?? null;
177177
if ($webmozartMethodName === null) {
178178
return null;
179179
}

0 commit comments

Comments
 (0)