Skip to content

Commit 72aa614

Browse files
committed
swap last to middle
1 parent 57f9d5e commit 72aa614

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
3+
namespace Rector\Tests\Set\Fixture;
4+
5+
final class NamedArgumentTrailingComma3
6+
{
7+
public function run(string $foo, string $bar, string $baz)
8+
{}
9+
10+
public function execute()
11+
{
12+
$this->run(
13+
bar: 'bar',
14+
baz: 'baz',
15+
foo: 'foo',
16+
);
17+
}
18+
}
19+
20+
?>
21+
-----
22+
<?php
23+
24+
namespace Rector\Tests\Set\Fixture;
25+
26+
final class NamedArgumentTrailingComma3
27+
{
28+
public function run(string $foo, string $bar)
29+
{}
30+
31+
public function execute()
32+
{
33+
$this->run(
34+
'foo',
35+
'bar',
36+
'baz'
37+
);
38+
}
39+
}
40+
41+
?>

0 commit comments

Comments
 (0)