protected function checkOption(?array $options): void
    {
        if (isset($options['tag'])) {
            return;
        }

        if (isset($options['group'])) {
            return;
        }

        if ($options !== null) {
            throw new NotSupportedException('Only the options "tag" and "group" are supported.');
        }
    }