Updated Rector to commit 61d68c89b434271c793fbbcc8e6252e9f3e0e7eb

61d68c89b4 Rename parameter variable to nextCase on RemoveDuplicatedCaseInSwitchRector (#5244)
This commit is contained in:
Tomas Votruba 2023-11-11 20:55:17 +00:00
parent 39dc6141e7
commit 55d6c6f50a
2 changed files with 4 additions and 4 deletions

View File

@ -108,9 +108,9 @@ CODE_SAMPLE
$key += \count($nextCases);
}
}
private function areSwitchStmtsEqualsAndWithBreak(Case_ $currentCase, Case_ $nextOrPrevCase) : bool
private function areSwitchStmtsEqualsAndWithBreak(Case_ $currentCase, Case_ $nextCase) : bool
{
if (!$this->nodeComparator->areNodesEqual($currentCase->stmts, $nextOrPrevCase->stmts)) {
if (!$this->nodeComparator->areNodesEqual($currentCase->stmts, $nextCase->stmts)) {
return \false;
}
foreach ($currentCase->stmts as $stmt) {

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '42b697f65f0c648cc45abcc5b9e32a16a7967caa';
public const PACKAGE_VERSION = '61d68c89b434271c793fbbcc8e6252e9f3e0e7eb';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-11-11 18:08:36';
public const RELEASE_DATE = '2023-11-12 03:53:10';
/**
* @var int
*/