Skip to content

Commit 3b57d68

Browse files
committed
add fixture skip mixed type
1 parent 65c84a1 commit 3b57d68

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
namespace Rector\Tests\CodingStyle\Rector\FuncCall\StrictInArrayRector\Fixture;
4+
5+
class SkipMixedType
6+
{
7+
public function run(mixed $value)
8+
{
9+
$items = ['10', '20', '30'];
10+
return in_array($value, $items);
11+
}
12+
}

0 commit comments

Comments
 (0)