<?php

namespace Rector\DeadCode\Tests\Rector\ClassMethod\RemoveUnusedParameterRector\Fixture;

class CompactExtract
{
    public function keepThis($group, $missed)
    {
        compact('group');
    }

    public function keepThat($group, $pesos)
    {
        $value = 'group';
        compact($value, 'pesos');
    }
}

?>
-----
<?php

namespace Rector\DeadCode\Tests\Rector\ClassMethod\RemoveUnusedParameterRector\Fixture;

class CompactExtract
{
    public function keepThis($group)
    {
        compact('group');
    }

    public function keepThat($group, $pesos)
    {
        $value = 'group';
        compact($value, 'pesos');
    }
}

?>
