Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1fe4989

Browse files
committed
Fix typo renameFunctionLikeLocalVariable
1 parent 8aa4451 commit 1fe4989

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AutoDecoder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function replaceFunctionLikeGlobalString()
120120
return $this->ast;
121121
}
122122

123-
public function renameFunctionLocalLikeVariable()
123+
public function renameFunctionLikeLocalVariable()
124124
{
125125
$nodeVisitor = new FunctionLikeNodeVisitor(function ($node) {
126126
/** @var $node \PhpParser\Node\Stmt\Function_ */
@@ -160,7 +160,7 @@ public static function decode($code)
160160
$decoder->removeUnusedConstFetchNodeVisitor();
161161
$decoder->replaceGlobalString();
162162
$decoder->replaceFunctionLikeGlobalString();
163-
$decoder->renameFunctionLocalLikeVariable();
163+
$decoder->renameFunctionLikeLocalVariable();
164164
$decoder->beautify();
165165
return $decoder->prettyPrintFile();
166166
}

0 commit comments

Comments
 (0)