Fix bug in \Symfony\CS\Tokens::getClassyElements

I have noticed that ``visibility`` fixer transforms code

```php
<?php
class Foo
{
    public function bar()
    {
        $a = 5;

        return " ({$a})";
    }
    public function baz($data)
    {
    }
}
```
to

```php
<?php
class Foo
{
    public function bar()
    {
        $a = 5;

        return " ({$a})";
    }
    public function baz(public $data)
    {
    }
}
```

This PR is fixing this behavior.

I also have added ``\Symfony\CS\Token::getName`` method, which is not used now, but it is useful for development purposes at least.
Why you put here T_WHITESPACE? It is not needed for your new test case to pass.