Skip to content

Commit 0d08948

Browse files
committed
[Php81] Skip on Param default on ArrayToFirstClassCallableRector
1 parent b1ab1d9 commit 0d08948

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Rector\Tests\Php81\Rector\Array_\ArrayToFirstClassCallableRector\Fixture;
4+
5+
final class SkipOnParam
6+
{
7+
public function size()
8+
{
9+
}
10+
11+
public function run(array $callback = [SkipOnParam::class, 'size'])
12+
{
13+
}
14+
}

0 commit comments

Comments
 (0)