Skip to content

Commit 0200720

Browse files
committed
[CodingStyle][Php81] Skip used by caller variable on FunctionLikeToFirstClassCallableRector
1 parent 7f05799 commit 0200720

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace Rector\Tests\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector\Fixture;
4+
5+
$fn = function ($foo)
6+
{
7+
return $foo($foo);
8+
};
9+
10+
var_dump($fn('strlen'));
11+
12+
?>

0 commit comments

Comments
 (0)