Prefer:

```php
$resultingAtoms[] = sprintf(
    '%s%s',
    static::EXTENSION_SEPARATOR,
    implode(static::EXTENSION_SEPARATOR , $extensions)
);
```